String a= request.getParameter("a");
I have following output
out.println(a);// January 2019February 2019March 2019// prints output
I want the following output
January 2019 February 2019 March 2019
i.e. adding space after the number 2019
I tried doing like this but didn't work out, any help much appreciated
String a= request.getParameter("a")+"\t";// didn't work out
String a = request.getParameter("a")+"\t"just adds a tabulator at the end of theString. The problem is the formatting of the value returned byrequest.getParameter("a"). Can you change that? If not, you may want to split theString, after every number occurrence, maybe.