Tag: strings
All the articles with the tag "strings".
-
한글 들어간 url string을 인코딩하는 방법
• 1 min read문자열(이후 string)을 URL로 변환하여 사용하는 경우가 있는데, string 값에 한글 혹은 공백 같은 값이 들어갈 경우 nil 값이 반환된다. 퍼센트 인코딩(percentencoding)을 해야 올바른 url로 변환할 수 있는데, 스위프트 string에서 `addingPe...
-
Multiline string literal tips
• 1 min readIn Swift, we can use multiline string literal to express several lines of string. Although, adding the new line character ` ` can create line break, it only...