i want to get a string between some given string
like this..
String wholetext = "SomePlace Pin- 110065 Name and address Alias 1 ID of customer-123 SomePlace "
String namerequired = "";
String textafter = "110065 Name and address";
String textbefore = "ID of customer";
//Constant part-110065 Name and address and ID of customer
googled and get some thing like this doindexing and this doindexing1
i am trying to get Alias 1 and not getting idea :( ? Help please