Difference between revisions of "CompareNames"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>Haama
(→‎See Also: Added HasName)
 
Line 7: Line 7:


==See Also==
==See Also==
*[[HasName]]
*[[AppendToName]]
*[[AppendToName]]
*[[CompareName]]
*[[CompareName]]

Latest revision as of 03:45, 27 January 2008

A command for Oblivion Script Extender

Syntax:

(comparison:short) reference.CompareNames compareTo:ref compare:ref

Compares the names of two objects and returns -1 if the first occurs alphabetically before the second, 1 if the first occurs after the second, or 0 for equality. Comparison is case-insensitive.

See Also[edit | edit source]