String Stream
The StringStream
is a Stream
that provides string-related methods.
trim()
Returns a StringStream
that trims the produced output. (Mdn Docs)
trimStart()
Returns a StringStream
that trims (from the start) the produced output. (Mdn Docs)
trimEnd()
Returns a StringStream
that trims (from the end) the produced output. (Mdn Docs)
padStart()
Returns a StringStream
that add pads (from the start) to the produced output. (Mdn Docs)
length
Integer
target length
char
String
' '
pad string
padEnd()
Returns a StringStream
that add pads (from the end) to the produced output. (Mdn Docs)
length
Integer
target length
char
String
' '
pad string
split()
Returns an ArrayStream
that produces the split output. (Mdn Docs)
separator
String
or RegExp
separator
limit
Integer
0
split limit
lowerCase()
Returns a StringStream
that converts the produced output to the lower case. (Mdn Docs)
upperCase()
Returns a StringStream
that converts the produced output to the upper case. (Mdn Docs)
camelCase()
Returns a StringStream
that converts the produced output to the camel case. (Library Docs)
capitalCase()
Returns a StringStream
that converts the produced output to the capital case. (Library Docs)
constantCase()
Returns a StringStream
that converts the produced output to the constant case. (Library Docs)
pathCase()
Returns a StringStream
that converts the produced output to the path case. (Library Docs)
dotCase()
Returns a StringStream
that converts the produced output to the dot case. (Library Docs)
headerCase()
Returns a StringStream
that converts the produced output to the header case. (Library Docs)
paramCase()
Returns a StringStream
that converts the produced output to the param case. (Library Docs)
pascalCase()
Returns a StringStream
that converts the produced output to the pascal case. (Library Docs)
snakeCase()
Returns a StringStream
that converts the produced output to the snake case. (Library Docs)
Last updated