Swift: How to determine if a Character represents whitespace?
Swift: How to determine if a Character represents whitespace?
- Subject: Swift: How to determine if a Character represents whitespace?
- From: Charles Jenkins <email@hidden>
- Date: Wed, 01 Apr 2015 21:14:52 -0400
Given this code:
let someCharacter = str[str.endIndex.predecessor()]
How can I determine if someCharacter is whitespace?
—
Charles
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden