Guest_imported
New member
- Jan 1, 1970
- 0
Hey everyone,
I have a quick question...
Is there a predefined method within the String class to see if a word exists within a word?
For example,
If a variable: fullString = "racecar";
and I want to find out if partString = "car" exists within stringExample...is this possible without specifying an exact index?
Basically I would like to know if there is a function that I can say
Does partString exist in fullString? --> true or false?
Any feedback is appreciated.
Thanks in advance,
-Jin