-1

I have an Array of strings :

ID: 12 34 56 78  class:C

SEX:M EYES:BRN HT:5-09'

Now , I want my o/p should be like this

ID: 12 34 56 78

class:C

SEX:M

EYES:BRN

HT:5-09'
jscs
  • 63,694
  • 13
  • 151
  • 195

1 Answers1

-1

you may found the solution at link:string split use objectAtIndex: to get each string which you want

Community
  • 1
  • 1
lee
  • 7,955
  • 8
  • 44
  • 60
  • I don't know why it's vote down. if an array has those string(array). and I want to get the string: ID: 12 34 56 78. Then I just call array1 = [array onjectAtIndex:0];. And so on for another strings. – lee Feb 10 '14 at 10:03