fn:compare(string? $comparand1, string? $comparand2) → integer?
Function signature
$comparand1 |
xs:string ? |
$comparand2 |
xs:string ? |
Result |
xs:integer ? |
Compares two strings using the default collation
fn:compare(string? $comparand1, string? $comparand2, string $collation) → integer?
Function signature
$comparand1 |
xs:string ? |
$comparand2 |
xs:string ? |
$collation |
xs:string |
Result |
xs:integer ? |
Compares two strings using a specified collation