Performs a case-sensitive comparison of two strings.
-1, if string1 is less than string2 0, if string1 is equal to string2 1, if string1 is greater than string2
Compare(string1=[any], string2=[any])
Argument | Type | Required | Description | Default |
---|---|---|---|---|
string1 |
any |
true |
The first string to compare | |
string2 |
any |
true |
The second string to compare |
- Ascii
- CamelCase
- Char
- CharsetDecode
- CharsetEncode
- CompareNoCase
- Find
- FindNoCase
- FindOneOf
- Insert
- JSStringFormat
- KebabCase
- LCase
- Left
- ListReduce
- LJustify
- LTrim
- Mid
- ParagraphFormat
- PascalCase
- QueryStringToStruct
- ReEscape
- ReFind
- reFindNoCase
- ReMatch
- reMatchNoCase
- RemoveChars
- RepeatString
- Replace
- ReplaceList
- ReplaceListNoCase
- ReplaceNoCase
- ReReplace
- reReplaceNoCase
- Reverse
- Right
- RJustify
- RTrim
- Slugify
- SnakeCase
- SpanExcluding
- SpanIncluding
- SQLPrettify
- StringBind
- StringEach
- StringEvery
- StringFilter
- StringMap
- StringReduce
- StringReduceRight
- StringSome
- StringSort
- StripCR
- Trim
- TrueFalseFormat
- UCase
- UCFirst
- Val
- Wrap
- YesNoFormat