0 Members and 1 Guest are viewing this topic.
"d:\Program files\Folder 1\Sub folder 2"
"d:\\Program files\\Folder 1\\Sub folder 2"
Replace(expression, find, replace[, start[, count[, compare]]])
Public Sub Main() Dim strNewString As String strNewString = Replace("d:\\Program files\\Folder 1\\Sub folder 2", "\\", "\", 1) MsgBox strNewStringEnd Sub
Dim Path as StringDim NewPath As StringPath = "d:\Program files\Folder 1\Sub folder 2"NewPath = Replace (Path, "\", "\\")
dangit .. Matt beat me to the punch ...
Quote from: Keith™ on August 27, 2007, 02:41:18 PMdangit .. Matt beat me to the punch ... Woohoo!!
Quote from: Matt W on August 27, 2007, 02:42:01 PMQuote from: Keith™ on August 27, 2007, 02:41:18 PMdangit .. Matt beat me to the punch ... Woohoo!!I need to learn to type faster ...<edit* and I obviously need to pay closer attention to what I am doing>