Gentee Programming Language > Documentation > Libraries | Download documentation |
The spattern type is used to search through the string for another string. Before search start-up, call the spattern.init method in order to initialize the search pattern. Then do a search of the specified pattern with the help of spattern.search.
spattern spattern.init( 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.
Returns the object which method has been called.
See also![]() |
![]() Copyright © 2004-2006 Gentee Inc. All rights reserved. ![]() |