Another Weird Thing??

Jim Ault JimAultWins at yahoo.com
Thu Apr 13 14:42:23 EDT 2006


The "|" char has special meaning in regEx.

Look at the docs and you might see that it applies differently in your case.

Basically it stands for 'or', but not always.

Jim Ault
Las Vegas


On 4/13/06 11:32 AM, "David Burgun" <dburgun at dsl.pipex.com> wrote:

> Hi,
> 
> I seem to be being plagued by weirdness today! Take a look at this code:
> 
>      set the itemDelimiter to
> ","                                                             --Do
> I need this?
>      put theMessageData into myMessageData
>      put replaceText(myMessageData,"|",",") into myMessageData
> 
> 
> When I run this and look at myMessageData before the replaceText()
> statment, it contains:
> 
> "10|30|366|460|"
> 
> But after the replaceText() call, myMessageData is empty!!!!!
> 
> How can this be?
> 
> Any help on this greatly appreciated.
> 
> All the Best
> Dave
> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list