Determines whether the end of this string matches the specified string when compared using the specified comparison option.
Syntax
Smartsite SXML | Copy Code |
---|---|
boolean string.endswith(string value, string rightPart) boolean string.endswith(string value, string rightPart, boolean ignoreCase) |
Parameters
Name | Data Type | Description |
---|---|---|
value | String | The value. |
rightPart | String | The right part. |
ignoreCase | Boolean | If set to true, ignore casing. |
Return Value
Data Type | Description |
---|---|
Boolean | True if the value parameter matches the end of this string; otherwise, false. |