Skip to content

erica/SwiftString

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Doing stuff with and to Swift strings

Resources

Stars

Watchers

Forks

Packages

No packages published