G
gonas
How can i search for a pattern in a string.
ie. if the pattern is "xyz" then the string can be tokenized only when
the pattern "xyz" appears and not for each "x","y","z"
also the same for multiple patterns like "xyz" and "abc". finding the
string between the two patterns.
usage of indexOf is very much killing tell me some other ways
ie. if the pattern is "xyz" then the string can be tokenized only when
the pattern "xyz" appears and not for each "x","y","z"
also the same for multiple patterns like "xyz" and "abc". finding the
string between the two patterns.
usage of indexOf is very much killing tell me some other ways