Package org.codehaus.groovy.tools
Class StringHelper
java.lang.Object
org.codehaus.groovy.tools.StringHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
This method tokenizes a string by space characters, but ignores spaces in quoted parts,that are parts in '' or "".
-
Constructor Details
-
StringHelper
public StringHelper()
-
-
Method Details
-
tokenizeUnquoted
This method tokenizes a string by space characters, but ignores spaces in quoted parts,that are parts in '' or "". The method does allows the usage of "" in '' and '' in "". The space character between tokens is not returned.- Parameters:
s
- the string to tokenize- Returns:
- the tokens
-