2.5
1.1
String
http://www.servletsuite.com/servlets/strtag
String tag
Substr
com.cj.string.SubstrTag
com.cj.string.StringVariable
JSP
Substring
start
false
true
end
false
true
from
false
true
to
false
true
id
false
true
Replace
com.cj.string.ReplaceTag
com.cj.string.StringVariable
JSP
Replace string
oldStr
true
true
newStr
false
true
id
false
true
ignoreCase
false
true
toUpperCase
com.cj.string.toUpperCase
com.cj.string.StringVariable
JSP
converts body to the upper case
id
false
true
toLowerCase
com.cj.string.toLowerCase
com.cj.string.StringVariable
JSP
converts body to the lower case
id
false
true
Capitalize
com.cj.string.Capitalize
com.cj.string.StringVariable
JSP
capitalizes first char
id
false
true
Ltrim
com.cj.string.Ltrim
com.cj.string.StringVariable
JSP
removes a pattern from the left
symbol
false
true
id
false
true
Rtrim
com.cj.string.Rtrim
com.cj.string.StringVariable
JSP
removes a pattern from the right
symbol
false
true
id
false
true
Trim
com.cj.string.Trim
com.cj.string.StringVariable
JSP
removes a pattern from the left and right
symbol
false
true
id
false
true
stripTags
com.cj.string.stripTags
com.cj.string.StringVariable
JSP
removes tags
id
false
true
cleanXSS
com.cj.string.cleanXSSTag
com.cj.string.StringVariable
JSP
cleans XSS
id
false
true
leftPad
com.cj.string.leftPad
com.cj.string.StringVariable
JSP
pads body from the left
length
true
true
symbol
false
true
id
false
true
rightPad
com.cj.string.rightPad
com.cj.string.StringVariable
JSP
pads body from the right
length
true
true
symbol
false
true
id
false
true
cutString
com.cj.string.cutString
com.cj.string.StringVariable
JSP
converts body to the upper case
maxLength
true
true
add
false
true
id
false
true
parseString
com.cj.string.parseString
JSP
Iterates over string tokens
source
true
true
separator
false
true
getToken
com.cj.string.getToken
com.cj.string.StringVariable
empty
Reads current token
id
false
true
forEachLine
com.cj.string.forEachLineTag
com.cj.string.strNested
JSP
Iterates over lines
source
true
true
id
false
true
addslashes
com.cj.string.addslashes
com.cj.string.StringVariable
JSP
adds slashes to the body
id
false
true
stripslashes
com.cj.string.stripslashes
com.cj.string.StringVariable
JSP
strips slashes in the body
id
false
true
filter
com.cj.string.FilterTag
com.cj.string.StringVariable
JSP
filters string according to RegExp pattern
id
false
true
pattern
true
true