edu.rice.cs.util
Class StringOps

java.lang.Object
  |
  +--edu.rice.cs.util.StringOps

public abstract class StringOps
extends Object

A class to provide some convenient String operations as static methods. It's abstract to prevent (useless) instantiation, though it can be subclassed to provide convenient namespace importation of its methods.

Version:
$Id: StringOps.java,v 1.1 2002/07/18 22:35:46 jhsia Exp $

Constructor Summary
StringOps()
           
 
Method Summary
static String replace(String fullString, String toReplace, String replacement)
          Takes theString fullString and replaces all instances of toReplace with replacement
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Constructor Detail

StringOps

public StringOps()
Method Detail

replace

public static String replace(String fullString,
                             String toReplace,
                             String replacement)
Takes theString fullString and replaces all instances of toReplace with replacement