Created
January 6, 2021 18:55
-
-
Save Jacob-Tate/3d5371909f7cbdd80b00fa9e34caf3c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var stringWithWhiteSpace = " The trimmingCharacters method, removes the whitespace at both ends of a string. " | |
var whiteSpaceRemoved = stringWithWhiteSpace.trimmingCharacters(NSCharacterSet.whitespaces) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment