VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



A one-liner...finds string and replaces with another. I used for replacing mapped drive with full p

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

Rate A one-liner...finds string and replaces with another. I used for replacing mapped drive with full p



   '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


Download this snippet    Add to My Saved Code

A one-liner...finds string and replaces with another. I used for replacing mapped drive with full p Comments

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.

Post your comment

Subject:
Message:
0/1000 characters