cepat lepaskan ruang dari string
let freedSpaceString = str.filter {!$0.isWhitespace}
Adventurous Anteater
let freedSpaceString = str.filter {!$0.isWhitespace}
let str = " Taylor Swift "
let trimmed = str.trimmingCharacters(in: .whitespacesAndNewlines) // prints "Taylor Swift"