Thread
:
String Contains?
View Single Post
#
10
06-22-2006, 08:48 PM
CheeToS2
That Guy
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
It's easier to use .contains()
this.msg = "what npc";
this.findmsg = "npc";
if (this.msg.contains(this.findmsg)) {
// whatever
}
__________________
CheeToS2
View Public Profile
View GraalOnline Profile
Find all posts by CheeToS2