>Whats the easist way to strip the last "\" from var1 and insert a ","
>(comma)?
>
>
try:
ReReplace(yourstring,"\\$",",")
The $ character in regular expressions represents the end of a string,
and the \ had to be escaped (that's why it's there twice).
__
Pete Frei
GetDirectoryFromPath()
Will probably do it...
HTH
-Original Message-
From: Bushy [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 16:55
To: CF-Talk
Subject: re: Stripping and replacing last "\" from a variable
Hi,
Whats the easist way to strip the last "\
Buhy,
How about
-Original Message-
From: Bushy [mailto:[EMAIL PROTECTED]
Sent: Monday, September 22, 2003 10:55 AM
To: CF-Talk
Subject: re: Stripping and replacing last "\" from a variable
Hi,
Whats the easist way to strip the last "\" from var1 and insert a &qu
Hi,
Whats the easist way to strip the last "\" from var1 and insert a "," (comma)?
var 1 = d:\temp\mywork\
Results: d:\temp\mywork,
~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137948
Archives: http://www.house
4 matches
Mail list logo