Class StringUtils
java.lang.Object
software.amazon.smithy.rulesengine.language.util.StringUtils
String utilities.
-
Method Summary
-
Method Details
-
indent
Indents the provided string by the provided number of spaces.- Parameters:
s
- the string to indent.spaces
- the number of spaces.- Returns:
- the indented string.
-
lines
Splits the given string by the UTF-8 LF U+000A character.- Parameters:
s
- the string to split.- Returns:
- the list of string lines.
-