Difference between revisions of "StringCmp"
Jump to navigation
Jump to search
imported>Speedo (New page: {{Beta}} A command for Pluggy. '''Syntax:''' (Position:long) StringCmp StringID1:long StringID2:long ''CaseSensitive:short'' Compares two strings and returns the ...) |
imported>Speedo (Graduating from beta) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
A command for [[:Category: Pluggy|Pluggy]]. | A command for [[:Category: Pluggy|Pluggy]]. | ||
Line 6: | Line 4: | ||
(Position:long) StringCmp StringID1:long StringID2:long ''CaseSensitive:short'' | (Position:long) StringCmp StringID1:long StringID2:long ''CaseSensitive:short'' | ||
Compares two strings and returns the position of the first different character, or 0 if no difference is found. | Compares two strings and returns the position of the first different character, or 0 if no difference is found. May be used with [[StringToken|StringTokens]]. | ||
*If CaseSensitive is 0 or not specified, the function ignores case differences. | *If CaseSensitive is 0 or not specified, the function ignores case differences. |
Latest revision as of 20:42, 25 March 2008
A command for Pluggy.
Syntax:
(Position:long) StringCmp StringID1:long StringID2:long CaseSensitive:short
Compares two strings and returns the position of the first different character, or 0 if no difference is found. May be used with StringTokens.
- If CaseSensitive is 0 or not specified, the function ignores case differences.