objective c - How to convert NSString to char[] array in object ...
2012年6月20日 - You can use [str cString] to get a char array of the same lenght of the String. If you just want the first 4 chars create a substring before with [str ...
stackoverflow.com |