[Groovy] Class StringUtil
- org.codehaus.groovy.util.StringUtil
Provides Groovy with functionality similar to the unix tr command which translates a string replacing characters from a source set with characters from a replacement set.
- Authors:
- UEHARA Junji (uehaj)
- NAKANO Yasuharu (nobeans)
- Since:
- 1.7.3
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
static String |
tr(String text, String source, String replacement) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/org/codehaus/groovy/util/StringUtil.html