public final class Utils extends Object
Modifier and Type | Method and Description |
---|---|
static String[] |
splitFirst(String source,
String splitter)
Split the source into two strings at the first occurrence of the splitter Subsequent occurrences are not treated
specially, and may be part of the second string.
|
public static String[] splitFirst(String source, String splitter)
source
- The string to splitsplitter
- The string that forms the boundary between the two strings returned.Copyright © 2012–2015 TupiLabs. All rights reserved.