Compares two strings.

// 0 StringFormat.compare('a', 'a'); // -1 StringFormat.compare('a', 'b'); // 1 StringFormat.compare('b', 'c');