samedi 20 septembre 2014

If text exists in label, in Xcode


Vote count:

0




Ok so I wanna see if the user has in putted a single word among other words like for example I want the user to say hi, but not only the word hi! For example like this :


Everybody this is XCoder, say hi class. I want an if command that will scan for the word hi and delete it if it is there and if it is not do nothing to the text.


Summary : Scan for particular text, if exists substring it. or remove, I would most likely expecting or expecting a (if) statement more than anything else cause this is a static label, (changing).



asked 1 min ago







If text exists in label, in Xcode

Aucun commentaire:

Enregistrer un commentaire