ios,swift2020. 1. 30. 11:55

[ios] swift String trim방법

 

let keyword :  String = " a b "

 

keyword.trimmingCharacters(in: .whitespacesAndNewlines))

Posted by thdeodls85