I want to remove a part of string from one character, that is:
Source string:
manchester united (with nice players)
Target string:
Use String.Replace():
http://www.daniweb.com/software-development/java/threads/73139
Example:
String original = "manchester united (with nice players)"; String newString = original.replace(" (with nice players)","");