I need to split String into 3 parts. Example:
String s="a [Title: title] [Content: content]";
Result should be:
s[0]="a";
s[1]="Title: title";
s[2]="Content: content";
Later I would like to put Title: title and Content: content in a Map as String key-value pair.
Aucun commentaire:
Enregistrer un commentaire