Truncates a string from the left, up to and including the first occurrence of pattern. This method is case-sensitive.
strlft(string pattern);
Parameter |
Description |
---|---|
pattern |
Pattern for which to search. Can be a literal value or another string object. |
Integer. Returns 1 for success, and 0 for failure.
Pointer to object |
Object |
---|---|
|
|
|
|
|
|
|
|
string mystr;
mystr = “hello/goodbye”;
mystr.strlft(“/”);
//mystr now contains “goodbye”
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |