I can sum up strings:
result=[firstString stringByAppendingString:secondString];
I can subtract one string from another:
result=[firstString stringByReplacingOccurencesOfString:secondString withString:@""];
Can you help me to divide a string into equal strings (e.g. i have string @"Qwerty", i want to divide it by 3 and get array @[@"Qw",@"er",@"ty"], or divide it by 2 to get @[@"Qwe",@"rty"])? Thanks!
You can get the string length divide it by desired number and base of it create NSRange:
You can create NSString category to achieve the result you are asking for. Hope this help.