com.vaadin.flow.internal.

Class StringUtil


  • public final class StringUtil
    extends Object

    Utility class for special string handling.

    Since:

    2.1.4

    • Constructor Detail

      • StringUtil

        public StringUtil()
    • Method Detail

      • removeComments

        public static final String removeComments(String code)

        Removes comments (block comments and line comments) from the JS code.

        Returns:

        the code with removed comments