Gentee Programming Language > Documentation > Libraries | Download documentation |
The method determines if the string has been found inside another string or not.This method is considered easier than the spattern.search method.
uint str.search( str pattern, uint flag )
pattern Search string (pattern). flag Search-flags. $QS_IGNCASE Case-insensitive. $QS_WORD Search the whole word only. $QS_BEGINWORD Search words which start with the specified pattern.
The method returns 1 if the substring is found, otherwise the return value is zero.
See also![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |