Qstrcmp

From EDukeWiki
Revision as of 08:03, 20 February 2020 by Fox (talk | contribs) (Created page with "'''qstrcmp''' <quote1> <quote2> <var> Compare two quotes. <var> returns zero if they are identical, -1 if the first quote comes first in alphabetical order, 1 if it comes lat...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

qstrcmp <quote1> <quote2>

Compare two quotes. returns zero if they are identical, -1 if the first quote comes first in alphabetical order, 1 if it comes later.

Note that the lexicographical order is rudimentary, for example "Player 2" is considered greater than "Player 10".