![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
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. |
#3
| |||
| |||
|
|
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. |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
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... |
![]() |
| Thread Tools | |
| Display Modes | |
| |