Truncates the string, starting from the right. This method is case-sensitive.
strrtt(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;
string pattern;
mystr = “hello world/goodbye world”;
pattern = “world”;
mystr.strrtt(pattern);
//mystr now contains “hello ”
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |