[Groovy] Class StringUtil

  • org.codehaus.groovy.util.StringUtil

String utility functions.

Methods Summary

Methods
Type Params Return Type Name and description
static String tr(String text, String source, String replacement)
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.

Inherited Methods Summary

Inherited Methods
Methods inherited from class Name
class Object wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll

Method Detail

static String tr(String text, String source, String replacement)

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.

Since:
1.7.3

© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/util/StringUtil.html