StringCmp

From the Oblivion ConstructionSet Wiki
Revision as of 20:42, 25 March 2008 by imported>Speedo (Graduating from beta)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.