I have a String a =" December 2011 ";
There is a before and after it.
How can I Convert it to: String b = "2011-12-1"
I have a String a = December 2011 ; There is a before
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You use this code.It gives whatever you want to output.
You first remove   using replace function and after you have to just parse the your string.