`public function assumeCompareAllBase(firstString, secondString)`

Compare two strings with the assumption that both strings are valid integers of any radix between 2 and 36.

This function ignores leading and trailing whitespaces.

This function evaluates both, negative and positive values. This function will work, if both strings are integers of the same radix and the radix is from 2 to 36. This function may produce unwanted result if the previous are not met or if the formatting is incorrect.

Digits of radix larger than 10 are 'a' to 'z' with 'a' being 10, and 'z' being 35. A is equal to a, Z is equal to z, and so forth.

This function considers empty strings as smallest. This function disregards leading zeroes. This function considers a string with only a '-' or a '+' sign as 0.

This function return an int32 value of 1 if the `firstString`

is larger than the `secondString`

, 0 if they are both equal, or -1 if the `firstString`

is smaller than the `secondString`

.

### Arguments

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

character(len=*), | intent(in) | :: | firstString | A string to be compared to the string | ||

character(len=*), | intent(in) | :: | secondString | A string to be compared to the string |