SyntaxFix
Write A Post
Hire A Developer
Questions
Yes you can, just pass the integer param to the split method
String stSplit = "apple=fruit table price=5" stSplit.split("=", 2);
Here is a java doc reference : String#split(java.lang.String, int)