| about | help | done | prefs | create account |
Java > String-2 > xyzThere
prev | next | chance
| Return true if the given string contains an appearance of "xyz" where the xyz is not directly preceeded by a period (.). So "xxyz" counts but "x.xyz" does not.
xyzThere("abcxyz") → true xyzThere("abc.xyz") → false xyzThere("xyz.abc") → true ...Save, Compile, Run See also Java Example Code. Java help docs: If Boolean Logic | Strings | While and For Loops | Arrays and Loops |
Forget It! -- delete my code for this problem 218.0
Copyright Nick Parlante 2006-10 - privacy