i have some text which is separated by space@" ".i displayed this array from DB named delegate.allSelectedVerseEnglish (array name) to a textview in the below formate.
self.multiPageView.text=[delegate.allSelectedVerseEnglish componentsJoinedByString:@" "];
multipageview is the textview,my need is to put numbers between these space.means i have 3 text which is separated by space for e.g.: my name is icoder my old is twenty my passion is coding etc etc,i need to set this text to 1 my name is icoder 2 my old is twenty 3 my passion is coding etc etc,how can i appen like this.i already got the text correctly but need in this formate.the DB does not have the numbers,i have to put numbers between separate text.
is anyone have the idea how to implement this..i hope you understand my question. thanks in advance.