paross1 wrote:
> Ian, you did a slight oops, but otherwise I think that
it is a good
> solution....
>
> <cfset variables.pipes =
len(rereplace(variables.teststring,"^|","","ALL"))>
> should actually be
> <cfset variables.pipes =
len(rereplace(variables.teststring,"[^|]","","ALL"))>
>
> Since ^| only means NOT | if it is enclosed itn [ ]
brackets.
>
> Phil
>
That's what I get for typing my code into an e-mail editor.
The
'debugger' sucks! :-)
Thanks for the correction.