StringUtils extension

utilities for strings

on

Methods

addComment() String
add '// '
addDocComment() String
add '/// '
splitLines() List<String>
split lines
withBraces() String
add braces
withBracesOrNot() String
add braces or not if empty
withBraKet() String
add []
withLtGt() String
add <>
withLtGtOrNot() String
add <> or not if empty
withParenthesis() String
add parenthesis