MinHRoberts
IS-IT--Management
I'm very new to tcl and I'm trying to strip out any ','s that's embedded in a field. I'm using the regsub command and while testing it using the following, before putting it in my "real" script I keep getting this error...
set namer "john, smith"
> john, smith
regsub -all , " " $namer
> wrong # args: should be "regsub ?switches? exp string subSpec varName"
What ame I doing wrong?
Thanks for your help
Herman
set namer "john, smith"
> john, smith
regsub -all , " " $namer
> wrong # args: should be "regsub ?switches? exp string subSpec varName"
What ame I doing wrong?
Thanks for your help
Herman