Class Whitespaces


  • public final class Whitespaces
    extends Object
    Utility for handling whitespaces.
    Since:
    2.0.0
    Author:
    Simon Taddiken
    • Method Detail

      • trimAll

        public static final String trimAll​(String s)
        Trims all leading and trailing whitespaces (regex pattern class \s)
        Parameters:
        s - The string to trim.
        Returns:
        The trimmed string.