Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > The Clib Object String Methods > Clib.strpbrk() MethodThis method searches a string for any of several specified characters and returns the string beginning at the first instance of one of the specified characters. SyntaxReturnsThe string beginning at the first instance of one of the specified characters in the charSet parameter; otherwise, null, if none is found. UsageThis method searches string for any of the characters specified in charSet. When possible, you should use the standard JavaScript method substring(). For more information, see String replace() Method. ExampleFor an example using this function, see Clib.strcspn() Method. To accomplish the same result using standard JavaScript methods, see String replace() Method. See AlsoClib.strchr() Method |
Siebel eScript Language Reference |