str.islast
Check the final character.
method uint str.islast (
uint symbol
)
uint symbol
)
Parameters
symbol | The character being checked. |
Return value
Returns 1 if the last character in the string coincides with the specified one and 0 otherwise.
Related links | Source |