org.sakaiproject.portal.service
Class PortalStringUtil
java.lang.Object
org.sakaiproject.portal.service.PortalStringUtil
public class PortalStringUtil
- extends Object
- Since:
- Sakai 2.4
- Version:
- $Rev: 110562 $
- Author:
- ieb
|
Method Summary |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalStringUtil
public PortalStringUtil()
replaceFirst
public 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.
- Parameters:
path - marker - replacement -
- Returns:
Copyright © 2003-2013 University of Michigan. All Rights Reserved.