Another Weird Thing??
Mark Smith
mark at maseurope.net
Thu Apr 13 14:42:00 EDT 2006
Doesn't answer your question exactly, but
replace "|" with comma in myMessageData
should work ( I know essentially nothing about regexes, as yet, but
have always found 'replace' both quick and reliable in these cases).
Also, I believe you only need to set the itemDelimiter to comma
explicitly if you've already set it to something else in the same
handler.
Best,
Mark
On 13 Apr 2006, at 19:32, David Burgun 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