Remove White Space

An utility to remove all white space from a given string

A procedure to use in Seeburger BIC Mapping Designer
It will extend your library for string handling

// ------------
/* --------------------------------------------
    removeWhiteSpace

        Parameters
            input$
        returns
            string

   Removes all white space from the given string 
   -------------------------------------------- */

local output$;

#javaStart
    String output = _StrVar_INPUT.getString();
    output = output.replaceAll("\\s+", "");
    _StrVar_OUTPUT.setString(output);
#javaEnd

exitProc(output$);

 

Comments are closed