What I want to do, is store a whole line and run a check off that line to find out if it has 'x' word in it anywhere.
ie;
test (variable) = This is the line I want to check.
I want the if check to do this:
if (test <contains> "line") { <--- this is where I need the help
world.Note("blah");
}
else { (so if it doesnt contain 'line')
world.Note("not blah");
}
}
Heh... hope that is explained well enough. :/
-Siri
ie;
test (variable) = This is the line I want to check.
I want the if check to do this:
if (test <contains> "line") { <--- this is where I need the help
world.Note("blah");
}
else { (so if it doesnt contain 'line')
world.Note("not blah");
}
}
Heh... hope that is explained well enough. :/
-Siri