Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 467 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 467 Bytes

String+Trim

A very simple String extension for trimming strings, written in Swift, just for fun. Feel free to use this.

How to use

  1. Import String+Trim.swift to your project.
  2. Whenever you’re working with Strings simply call .trim()

example:

println(“   Hello, world  “.trim()) // “Hello, world” 

Author

Website: pedrovieira.me
Twitter: @w1tch_