Gentee Programming Language > Documentation > Libraries Download documentation

str.islast

Check the final character.
 
uint str.islast(
      uint   ch
)

Parameters

chThe character being checked.

Return value

Returns 1 if the last character in the string coincides with the specified one and 0 otherwise.

See also

    Strings


 Copyright © 2004-2006 Gentee Inc. All rights reserved.