i am having a string like: funcname("data")
,comes from upstairs.now i want to save the funcname, data in two NSString variables i.e i need to find the string present in between ""
and the string before'('
.
There's a very useful class NSScanner that will help you to parse different tokens easily.