Dave,
On Apr 13, 2006, at 12:32 PM, 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?

What you want is the replace command, not the replaceText() function.

   replace "|" with comma in myMessageData

The replaceText() function operates on regular expressions, and "|" has a special meaning in regex.

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to