SyntaxFix
Write A Post
Hire A Developer
Questions
Swift 3.0 version
let arr = yourString.components(separatedBy: "/") let month = arr[0]