| Parameter | Description |
|---|---|
| other | Another string to compare with. |
int
A number denoting the lexicographical sort order of this string relative to the other string:
0 denotes both strings have the same sort position.
-1 denotes that this string should be sorted to precede the other.
+1 denotes that this string should be sorted to follow the other.
Returns the lexicographical sort order of this string relative to another.
| Parameter | Description |
|---|---|
| other | Another string to compare with. |
int
A number denoting the lexicographical sort order of this string relative to the other string:
0 denotes both strings have the same sort position.
-1 denotes that this string should be sorted to precede the other.
+1 denotes that this string should be sorted to follow the other.
Returns the lexicographical sort order of this string relative to another.
| Parameter | Description |
|---|---|
| other | Another string to compare with. |
int
A number denoting the lexicographical sort order of this string relative to the other string:
0 denotes both strings have the same sort position.
-1 denotes that this string should be sorted to precede the other.
+1 denotes that this string should be sorted to follow the other.
Returns the lexicographical sort order of this string relative to another.
| Parameter | Description |
|---|---|
| other | Another string to compare with. |
int
A number denoting the lexicographical sort order of this string relative to the other string:
0 denotes both strings have the same sort position.
-1 denotes that this string should be sorted to precede the other.
+1 denotes that this string should be sorted to follow the other.
Returns the lexicographical sort order of this string relative to another.
| Parameter | Description |
|---|---|
| other | Another string to compare with. |
int
A number denoting the lexicographical sort order of this string relative to the other string:
0 denotes both strings have the same sort position.
-1 denotes that this string should be sorted to precede the other.
+1 denotes that this string should be sorted to follow the other.
Returns the lexicographical sort order of this string relative to another.
| Parameter | Description |
|---|---|
| other | Another string to compare with. |
int
A number denoting the lexicographical sort order of this string relative to the other string:
0 denotes both strings have the same sort position.
-1 denotes that this string should be sorted to precede the other.
+1 denotes that this string should be sorted to follow the other.
Returns the lexicographical sort order of this string relative to another.
| Parameter | Description |
|---|---|
| other | Another string to compare with. |
int
A number denoting the lexicographical sort order of this string relative to the other string:
0 denotes both strings have the same sort position.
-1 denotes that this string should be sorted to precede the other.
+1 denotes that this string should be sorted to follow the other.
Returns the lexicographical sort order of this string relative to another.
| Parameter | Description |
|---|---|
| other | Another string to compare with. |
int
A number denoting the lexicographical sort order of this string relative to the other string:
0 denotes both strings have the same sort position.
-1 denotes that this string should be sorted to precede the other.
+1 denotes that this string should be sorted to follow the other.
Returns the lexicographical sort order of this string relative to another.