![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRegular Expression to search for double occurence of a pattern
From: <ink.paint@gmail.com>
Date: Fri Oct 28 2005 - 20:50:57 CEST
Hi
What would be the best method to search a string for double occurance
Ex: set mystr "my name is your name only"
now i have the word "name" occuring twice in 'mystr'.
Thanks
|