Fwatch is obsolete! Read here

string compare
Compare text
Input:
text1: - String first text
text2: - String second text
caseSensitive: - Bool match case
natural: - Bool natural order comparison
reverseCase: - Bool capital letters return greater result
Output:
Integer
 0 - texts are identical
 1 - first one is greater than the second
-1 - first one is lesser than the second


Example:
_value = call loadFile Format ["\:string compare text1:%1text2:%2", "Hello", "World!"]


Description:
Compares two strings with each other according to the lexicographical order. Alternatively use natural: to compare them in a natural order. Option reverseCase: use in combination with caseSensitive:.
Purpose:
For sorting strings alphabetically.


Game ver:
1.96 / 1.99 / 2.01 Client and Dedicated Server
Introduced:
1.1
Demo:
Download
Source:
View


Topics:
What is Fwatch?
What's new?
Download & Startup

Presence Check
Using Commands
Input Commands Info
Animation Codes
Function & Script Library
Recommended Practices

Extras
Mod Manager
Changelog
Source
Credits