mirror of
https://github.com/shekhargulati/strman-java.git
synced 2026-10-17 21:03:58 +00:00
1.0 KiB
1.0 KiB
strman-java
A Java 8 string manipulation library without any dependencies. It is inspired by dleitee/strman.
Available Functions
append(value, strings...)
This method will append strings to the value.
import static strman.Strman.append;
String title = "s";
String result = append(title, "tr","m","an");
// result = "strman"
appendArray(value, strings)
This method will append all the values in strings array to the value.
import static strman.Strman.appendArray;
String title = "s";
String result = appendArray(title, new String[]{"tr","m","an"});
// result = "strman"
at(value, index)
Gets the character at index.
import static strman.Strman.at;
String result = at("foobar", 0);
// result = "f"