Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 448 Bytes

README.md

File metadata and controls

11 lines (9 loc) · 448 Bytes

Swift Strings

BSD. Use at your own risk.

  • Character View: convert character view to string and count characters
  • Wackbards: reverse string
  • Ranges: use integer ranges with strings
  • NSString mimicking: rangeOfString, componentsSeparatedByString
  • Decomposition: first, last, butFirst, butLast, car, cdr, just, at, except
  • Subscripting: subscripting with get/set with integer subscripting
  • Numbers: Converting to and from hex, octal, binary