I have this array:
NSArray *currentPath;
and it gets populated here:
currentPath = [[[self.tableData objectAtIndex:indexPath.row] objectForKey:@"Name"] componentsSeparatedByString:@"FTP\\"];
I need to repopulate this array again
NSString *newPreviousPath = [previousPath stringByReplacingOccurrencesOfString:nextItemToRemoveString withString:@""];
currentPath = [newPreviousPath];
but I keep getting this error:
Expected identifier
How do I fix this and accomplish this ?