android how to split string

www‮al.‬utturi.com
android how to split string

android split string into array by delimiter

String currentString = "hello lautturi java world";
String[] pieces = currentString.split(" ");
pieces[0]; // hello
pieces[1]; // lautturi
Created Time:2017-08-30 21:17:09  Author:lautturi