|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.manplato.Tools.StringManipulator
A class to provide string manipulation routines. This class only provides static methods, and thus cannot be initialized.
Method Summary | |
static java.lang.String |
strip(java.lang.String s)
This method returns the substring from the first character to the first null, if one exists. |
static java.lang.String |
substitute(java.lang.String s,
java.lang.String sBefore,
java.lang.String sAfter)
This method returns a string with a substring substituted. |
Methods inherited from class java.lang.Object |
|
Method Detail |
public static java.lang.String strip(java.lang.String s)
s
- the string to strip.public static final java.lang.String substitute(java.lang.String s, java.lang.String sBefore, java.lang.String sAfter)
s
- the original stringsBefore
- the token to removesAfter
- the token to add
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |