私はこのように見える多くのNSStringを持っています:
@"this is the content. The content of this string may vary, as well as the length, and my include any characters, with numbers Y = 295.000000 X = 207.500000"
パーツY=295.000000 X = 207.500000は、変更される可能性のあるX番号とY番号を除いて、常に同じままです。
私はそれらの数字を取得し、次のようなことをするために何らかの方法で必要です:
coordsFinal.x = 295.000000;
coordsFinal.y = 207.500000;
次の形式になります。
coordsFinal.x = [NSString stringWithFormat: @"%@", trimmed string];
何か案は??