Class Strings
java.lang.Object
org.spongepowered.configurate.util.Strings
Extra string utilities.
- Since:
- 4.0.0
- 
Method Summary
- 
Method Details- 
repeatCreate a new string with the contents of the provided string repeatedtimestimes.Available in Stringitself as of JDK 11.- Parameters:
- content- text to repeat
- times- amount to repeat
- Returns:
- repeated string
- Since:
- 4.0.0
 
- 
isBlankReturn if the input string is empty or has no non-whitespace characters.This matches the behaviour of String.isBlank()in Java 11+.- Parameters:
- test- input string to test
- Returns:
- if the input string is blank
- Since:
- 4.0.0
 
 
-