RosettaCodeData/Task/String-matching/Tcl/string-matching-3.tcl

2 lines
47 B
Tcl

set isContained [regexp ***=$needle $haystack]