Page 1 of 1
Replacetext function not found?
Posted: Wed Sep 29, 2010 1:18 pm
by Simon Knight
I was trying to use the statement "replactext" but it refuses to pass the syntax checking:
Code: Select all
replaceText("malformed","mal","well") -- returns "wellformed"
stack "ICDTextFileConverter": execution error at line 37 (Handler: can't find handler) near "replaceText", char 1
any ideas?
Re: Replacetext function not found?
Posted: Wed Sep 29, 2010 2:55 pm
by bn
Simon,
replace is a function, you have to tell it what to do.
try
Code: Select all
put replaceText("malformed","mal","well") into field 1 -- returns "wellformed"
that works for me
regards
Bernd
Re: Replacetext function not found?
Posted: Wed Sep 29, 2010 5:13 pm
by Simon Knight
Arrrrrrrrrggggggggggg!
What a fool! I've spent ages trying to find out where I was going wrong....
Thanks
Simon
Re: Replacetext function not found?
Posted: Wed Sep 29, 2010 5:59 pm
by Klaus
Simon, the Rev Dictionary isn't that bad!

Re: Replacetext function not found?
Posted: Wed Sep 29, 2010 10:12 pm
by Simon Knight
Klaus,
The dictionary is fine, its me (RTFM)
Simon
Re: Replacetext function not found?
Posted: Thu Sep 30, 2010 11:03 am
by Klaus
Hi Simon,
Simon Knight wrote:Klaus,
The dictionary is fine, its me (RTFM)
Simon
I know, but my good education forced me to put it this more diplomatic way

Re: Replacetext function not found?
Posted: Fri Oct 01, 2010 9:18 am
by Simon Knight
Klaus,
Ho hummm!
Simon