Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
で部分文字列を検索したいのですNSStringが、右から左へ ----- 左から右へNSString検索します。
NSString
私はそれを行う愚かな方法を持っていますが、誰かが賢い方法を持っていれば、私はうれしいです.
オプションの 1 つとして使用NSString rangeOfString:options:および渡します。NSBackwardsSearch
NSString rangeOfString:options:
NSBackwardsSearch