org.castor.util
Class StringUtil
java.lang.Object
org.castor.util.StringUtil
public class StringUtil
extends java.lang.Object
Common functionality relate to String processing.
static String | replaceAll(String source, String toReplace, String replacement) - Replaces all occurences of a pattern within a String.
|
replaceAll
public static String replaceAll(String source,
String toReplace,
String replacement)
Replaces all occurences of a pattern within a String.
source
- The source string.toReplace
- The character to replace.replacement
- The replacement.
- The new String with characters replaced.
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com