Quick Replace Question

cdurbin

Member
Joined
Dec 21, 2005
Messages
20
Location
Kentucky
Programming Experience
10+
Anyone know how I can Replace an single string with two strings using VS2005/VB.net?
Example:
find: " End Sub"
Replace with: " Logit()"
" End Sub"
 
Reply to David

Thanks David...

Now I have to show my ignorance and ask, Where/how do I run that line?

I am in VS2005 editing a vb.net program.
 
Sorry, I feel stupid.

That code will not work in find and replace dialog.

Best bet is to replace the string once in the code and copy it.
Then use find to find the end subs and ctl+v to paste the new code.

I do not know of a way to do it with the replace dialog.
 
Solution

Attached is a picture of the solution:
 

Attachments

  • Solution.GIF
    Solution.GIF
    41.8 KB · Views: 66
Back
Top