R
Ross
Does anyone have a suggestion for a nice compact test for a substring
in a string? I'm porting some stuff from Python where I can just test
easily with
a="here are some words"
if "are" in a:
print "Yes it's There"
Something tells me a regex is a likely approach...
Thx in advance...
Ross.
in a string? I'm porting some stuff from Python where I can just test
easily with
a="here are some words"
if "are" in a:
print "Yes it's There"
Something tells me a regex is a likely approach...
Thx in advance...
Ross.