Gentee Programming Language > Documentation > Libraries Download documentation

str.findchnum

Find character number i in a string.
 
uint str.findchnum(
      uint   ch,
      uint   num
)

Parameters

chSearch character.
numThe number of the character starting from 1.

Return value

The offset of the character if it is found. If the character is not found, the length of the string is returned.

See also

    Strings


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