I have a string "FS:A151940.A-CM4;4" and have a integer value stored in a variable num.... now i want the string to be modified as "FMS:A151940.A-CM4;*" where value of num must be present instead of *... please help me out with this !!
hey, one correction...its not just the * there...already some other number ll be present ther , jus added a * for better understanding.the number already present must be replaced with the valu of num..
public class GrossmontBank
//class variables (global - accessible throughout this class)
//scanner object to be used throughout
private static Scanner input = new Scanner(System.in);