by John Flaherty (5 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 15th October 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
A one-liner...finds string and replaces with another. I used for replacing mapped drive with full path
'This says search for Z:\ in Z:\sample.doc and if found, replace Z: 'with \\mailhub\rsg MsgBox Replace("Z:\sample.doc", "Z:\", "\\mailhub\rsg\")
End Sub
No comments have been posted about A one-liner...finds string and replaces with another. I used for replacing mapped drive with full p. Why not be the first to post a comment about A one-liner...finds string and replaces with another. I used for replacing mapped drive with full p.