Skip to content

Instantly share code, notes, and snippets.

@wiwi-git
Last active November 25, 2020 07:44
Show Gist options
  • Save wiwi-git/1bb5e01e3b0d9391a88cccabd0cf9214 to your computer and use it in GitHub Desktop.
Save wiwi-git/1bb5e01e3b0d9391a88cccabd0cf9214 to your computer and use it in GitHub Desktop.
let text = "가나다라마바사아자차"
let index0 = text.startIndex
let indexE = text.endIndex
let result = text[index0 ..< indexE]
print(result) // "가나다라마바사아자차"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment