Changeset 1714
- Timestamp:
- 2010-09-22 18:13:03 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/universe/kauri-template/src/main/java/org/kauriproject/template/el/StringFunctions.java
r1015 r1714 46 46 public static int length(String string) { 47 47 return string.length(); 48 } 48 } 49 49 50 50 public static String substring(String string, int beginIndex, Integer endIndex) { … … 74 74 return string.contains(substring); 75 75 } 76 76 77 public static String replace(String string, String regex, String replacement) { 78 return string.replaceAll(regex, replacement); 79 } 77 80 }
Note: See TracChangeset
for help on using the changeset viewer.