NextApp Echo
App Container 1.1.4

nextapp.echoservlet.util
Class StringUtil

java.lang.Object
  extended bynextapp.echoservlet.util.StringUtil

public class StringUtil
extends java.lang.Object

A utility class for working with Strings.


Method Summary
static java.lang.String replace(java.lang.String in, java.lang.String find, java.lang.String replace)
          Searches for specified text within a string and replaces occurrences with new text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

replace

public static java.lang.String replace(java.lang.String in,
                                       java.lang.String find,
                                       java.lang.String replace)
Searches for specified text within a string and replaces occurrences with new text.

Parameters:
in - The string to search and modify.
find - The text to be found and replaced.
replace - The text with which to replace instances of the text specified by the find parameter.
Returns:
A new string with instances of find having been replaced with replace.

NextApp Echo
App Container 1.1.4