I am receiving a string from a web service. I will set my label text to be the text of this string. However, the string contains a comma, and i want to separate the string to a new line, separated by a comma.
Example:
var exampleString = "street Number, City"
needs to be
var wantedString = "street Number
City"
This is how i currently set my label text:
self.AdresseLabel.text = self.SpillestedAdresse as String
Any ideas how to split the String?
Thanks!