rachayita jaiswal

rachayita jaiswal

  • NA
  • 217
  • 106.4k

separate last 3 words & first 2 words from a string

Nov 21 2013 1:51 AM
Hi,

 I have string str = "12.95102921601837,77.5755615066737,108, Parvatipura, VV Puram, Basavanagudi, Bangalore, Karnataka 560004, India"

now i want output as

                   string srt1 = 12.95102921601837
   string srt2 = 77.5755615066737
           string srt3 = 108, Parvatipura, VV Puram, Basavanagudi
                   string srt4 = Bangalore
                   string str5 = Karnataka
                   string str6 = 560004, India

i want this output.
Please its urgent....

Answers (19)