public class PortalStringUtil extends Object
| Constructor and Description |
|---|
PortalStringUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
replaceFirst(String path,
String marker,
String replacement)
replaces the first occurance of a string without reverting to regex or
creating arrays/vectors etc could also have used StringUtil for this
perpose, but wanted something simpler.
|
public static String replaceFirst(String path, String marker, String replacement)
path - marker - replacement - Copyright © 2003-2015 University of Michigan. All Rights Reserved.