Skip to main content

CrystalDocs builds documentation for every shard, on request. The announcement: Documentation for every shard, on CrystalBits.

CrystalDocs

    Browse DocsCrystalShardsAbout

    github.com/matthewmcgarvey/focus

    Types

    • Focus
      • AggregateExpression
        • AggregateType
      • AliasedExpression
      • ArrayColumn
      • ArrayExpression
      • ArrayLiteral
      • BetweenOperatorExpression
      • BinaryExpression
      • BoolColumn
      • BoolExpression
      • BoolLiteral
      • CastExpression
      • Clause
      • Column
      • ColumnReferenceExpression
      • ColumnToken
      • CommonTableExpression
      • ComplexExpression
      • DBConn
      • DateColumn
      • DateExpression
      • DateLiteral
      • DeleteClause
      • DeleteStatement
      • Dialect
      • Dsl
        • Aggregation
        • Columns
        • ConditionalFunctions
        • MathFunctions
        • StringFunctions
        • Types
        • WhereHelpers
        • WindowFunctions
      • Expression
      • FloatColumn
      • FloatExpression
      • FloatLiteral
      • FloatWindowExpression
      • ForClause
        • LockStrength
        • WaitPolicy
      • FromClause
      • FunctionExpression
      • GenericValueExpression
      • GroupByClause
      • HavingClause
      • InsertClause
      • InsertStatement
      • IntColumn
      • IntExpression
      • IntLiteral
      • IntWindowExpression
      • IntervalColumn
      • IntervalExpression
      • IntervalLiteral
      • JoinTable
        • JoinType
      • JsonbColumn
      • JsonbExpression
      • JsonbLiteral
      • LimitClause
      • LiteralExpression
      • Metadata
        • Column
          • DataType
        • Enum
        • Schema
        • Table
      • NullLiteral
      • NumericExpression
      • OffsetClause
      • OnConflictClause
      • OrderByClause
        • OrderType
      • OrderByListClause
      • PG
        • CastExpression
        • DeleteStatement
        • Dialect
        • Dsl
          • AdvisoryLockFunctions
          • Aggregation
          • ArrayTypes
          • Columns
          • TimeFunctions
          • Types
          • UuidFunctions
        • Formatter
        • Generator
        • InsertStatement
        • LockStatement
          • LockMode
        • QuerySet
        • ReadableTable
        • SelectStatement
        • SetStatement
        • Statement
        • Statements
          • Dsl
            • SetOperators
        • Table
        • UpdateStatement
        • WithStatement
      • Parameter
      • PostfixOperatorExpression
      • PrefixOperatorExpression
      • QueryClause
      • QuerySet
        • TableType
      • Queryable
      • ReadableTable
      • ReturningClause
      • SQLite
        • DeleteStatement
        • Dialect
        • Dsl
          • TimeFunctions
          • Types
        • Formatter
        • Generator
        • InsertStatement
        • QuerySet
        • ReadableTable
        • SelectStatement
        • SetStatement
        • Statement
        • Statements
          • Dsl
            • SetOperators
        • Table
        • UpdateStatement
        • WithStatement
      • SelectClause
      • SelectStatement
      • SelectTable
      • SerializableTable
      • SetClause
        • Column
      • SetStatement
        • SetOperator
      • SqlBuilder
      • SqlFormatter
        • StatementType
      • SqlVisitor
      • Statement
      • StatementExpression
      • StringColumn
      • StringExpression
      • StringLiteral
      • Table
      • Template
      • Templates
        • EnumTemplate
        • TableTemplate
          • ColumnTemplate
      • TimeColumn
      • TimeExpression
      • TimeLiteral
      • TimestampColumn
      • TimestampExpression
      • TimestampLiteral
      • TimestampTzColumn
      • TimestampTzExpression
      • TimestampTzLiteral
      • Token
      • UpdateClause
      • UpdateStatement
      • UpdateableTable
      • UsingClause
      • ValueExpression
      • ValuesClause
        • Row
      • WhereClause
      • WildcardExpression
      • Window
      • WindowExpression
      • WithStatement
    • MainCommand
    • RunCommand
    module

    Focus::Dsl::StringFunctions

    Instance methods

    concat(*exprs : Focus::Expression) : Focus::StringExpression
    Source
    concat_ws(separator : Focus::StringExpression, *exprs : Focus::Expression) : Focus::StringExpression
    Source
    length(expr : Focus::StringExpression) : Focus::IntExpression(Int64)
    Source
    lower(expr : Focus::StringExpression) : Focus::StringExpression
    Source
    ltrim(expr : Focus::StringExpression, chars : Focus::StringExpression) : Focus::StringExpression
    Source
    ltrim(expr : Focus::StringExpression) : Focus::StringExpression
    Source
    replace(expr : Focus::StringExpression, from : Focus::StringExpression, to : Focus::StringExpression) : Focus::StringExpression
    Source
    rtrim(expr : Focus::StringExpression, chars : Focus::StringExpression) : Focus::StringExpression
    Source
    rtrim(expr : Focus::StringExpression) : Focus::StringExpression
    Source
    substr(expr : Focus::StringExpression, start : Focus::IntExpression(I), len : Focus::IntExpression(L)) : Focus::StringExpression forall I, L
    Source
    substr(expr : Focus::StringExpression, start : Focus::IntExpression(I)) : Focus::StringExpression forall I
    Source
    trim(expr : Focus::StringExpression, chars : Focus::StringExpression) : Focus::StringExpression
    Source
    trim(expr : Focus::StringExpression) : Focus::StringExpression
    Source
    upper(expr : Focus::StringExpression) : Focus::StringExpression
    Source

    Advertisement

    Crystal jobs from CrystalGigs

    • Your posting here

      Reach Crystal developers on CrystalGigsFirst party

    CrystalDocs.org - Crystal Shard Documentation Hosting

    The CrystalBits newsletter

    Crystal tutorials, release news and community writing. One email when there is something new, never a stream.

    You will get one confirmation email to check the address is yours. Unsubscribe any time.

    GitHubCrystalShardsCrystalGigsCrystalBitsCrystal LanguageStatsSponsor

    The Bushido Collective builds and maintains this site.
    Licensed under the Apache License 2.0