I have a textField and I would like to delete all characters after a specific character.
For example, if I have the word Orange in textField and I want to delete all characters after n , I would like to get Ora after deleting.
How can I remove all characters after a certain character from a string in Swift?
thanks
string uitextfield swift nsstring
fs_tigre
source share