Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The Tcl language was designed for string manipulation aka today's NLP:

if {[string match "* hede *" $line] == 0} { Yay! }

OR

foreach line $lineData { if {$line == "hede"} { continue } }



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: