Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
public final class StringRegex
- Object
- StringRegex
The methods of
java.lang.String that take a regular expression, over
this package’s Pattern: matches, split, replaceAll and
replaceFirst, with the JDK’s syntax. Each takes the string as its
first argument, so s.split(";") becomes StringRegex.split(s, ";").Methods
Inherited methods
Method details
matches
public static boolean matches(String s, String regex)split
public static String[] split(String s, String regex)split
public static String[] split(String s, String regex, int limit)replaceAll
public static String replaceAll(String s, String regex, String replacement)replaceFirst
public static String replaceFirst(String s, String regex, String replacement)