Package com.webfirmframework.wffweb.util
Class StringBuilderUtil
java.lang.Object
com.webfirmframework.wffweb.util.StringBuilderUtil
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static StringBuilder
replaceFirst
(StringBuilder from, String thisString, String with) NB: Only for internal purpose.static StringBuilder
strip
(StringBuilder sb)
-
Method Details
-
getTrimmedString
- Parameters:
sb
- theStringBuilder
object to create a trimmed string from it.- Returns:
- Since:
- 1.0.0 initial implementation., 3.0.15 It is unicode aware.
-
strip
- Parameters:
sb
- StringBuilder object to be stripped.- Returns:
- the same StringBuilder object after stripped.
- Since:
- 3.0.15
-
replaceFirst
NB: Only for internal purpose. Not recommended for developer use.- Parameters:
from
- content to be replaced from this StringBuilderthisString
- the string to be replacedwith
- with this string the thisString will be replaced.- Returns:
- the modified StringBuilder which is the same from.
- Since:
- 3.0.15
-