Hello, I am looking for a way to tell if a string contains another string. Something like this...
if ([thisLetter isIn: theParagraph]) {
... //do something
}
or maybe:
if ([theParagraph contains: thisLetter]) {
... //do something
}
but sadly those are not real methods... So, does anyone know of a way to do this? any help would be great, thanks.
if ([thisLetter isIn: theParagraph]) {
... //do something
}
or maybe:
if ([theParagraph contains: thisLetter]) {
... //do something
}
but sadly those are not real methods... So, does anyone know of a way to do this? any help would be great, thanks.