Text.opCmp

Compares two text sections

You should rarely need to call this function. It exists so that Texts can be used as associative array keys.

class Text
override scope const
int
opCmp
(
scope const Object o
)

Examples

Text item1,item2;
if (item1 < item2) { }

Meta

Suggestion Box / Bug Report