Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DEV and version next

...

String literal reference example:

STRINGGREATERTHANEQUAL
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
stringgreaterthanequal('a','a') as:'stringCompare'

stringgreaterthanequal('a','a')

Output:

...

 Returns true  since both values are the same.

String literal reference example:

STRINGGREATERTHANEQUAL
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
stringgreaterthanequal('a','b') as:'stringCompare'

stringgreaterthanequal('a','b')


Output: Generates false in the new column stringCompare, since  Returns false since a evaluates to be less than b.

String literal reference example:

STRINGGREATERTHANEQUAL
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
stringgreaterthanequal('abc','x') as:'stringCompare'

stringgreaterthanequal('abc','x')

Output:

...

 Returns false  since the first letter of the first string is less than the first letter of the second string.

Column reference example:

STRINGGREATERTHANEQUAL
d-codelang-syntax
RawWrangletrue
Typeref
showNotetrue
WrangleTextderive type:single value:
stringgreaterthanequal(string1,string2) as:'stringCompare'

stringgreaterthanequal(string1,string2)

Output:

...

 Returns the evaluation of string1 column values being greater than string2 column values.

D s
snippetCollation Rules
styleh2

Include Page
String Collation Rules
String Collation Rules

D s
snippetSyntax

STRINGGREATERTHANEQUAL
d-codelang-syntax
RawWrangletrue
Typesyntax
showNotetrue
WrangleTextderive type:single value:
stringgreaterthanequal(string_ref1,string_ref2)

stringgreaterthanequal(string_ref1,string_ref2)


ArgumentRequired?Data TypeDescription
string_ref1YstringName of first column or first string literal to apply to the function
string_ref2YstringName of second column or second string literal to apply to the function

...