[iOS] NSString• NSString is immutable; use NSMutableString for modifications• Internally Unicode array; length and characterAtIndex: are primitives• Rich methods for encoding, comparison, search, and replacementSIN@製造BT部2016.02.03iosobjcstringswiftunicoderegextextprocessing
Rust – Strings• Rust has two string types: &str (immutable) and String (mutable)• &str is stored as constant; String is heap-allocated• Strings support concatenation, appending, slicing, and indexing operationsNIRUPASHREES2023.02.07ruststringprogrammingdatatype