org.codehaus.groovy.util
[Groovy] Class StringUtil
java.lang.Object
org.codehaus.groovy.util.StringUtil
class StringUtil
extends Object
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
tr
static String tr(String text, String source, String replacement)
-
Copyright © 2003-2013 The Codehaus. All rights reserved.