|
#1
|
|||
|
|||
Removing slash from a string
I have need to remove couple of slashes from a string (in a macro), then reassign the value to the same macro. Is there an easy way to do it in VBP 8?
Original String 1. STRING1 - "\\Machine1" (STRING1 IS A MACRO) Expected: STRING1="MACHINE1" (Removing "\\") |
#2
|
|||
|
|||
See the attached sample.
|
#3
|
|||
|
|||
It totally worked... Thanks a bunch.
A quick qs though, is there a list of similar functions available in VBP help? or you just called a VB function? |
#4
|
|||
|
|||
It depends. In this case, a VBScript function is the way to go.
http://msdn.microsoft.com/en-us/library/3ca8tfek For built-in script functions in Visual Build, see http://www.kinook.com/VisBuildPro/Ma...temscripts.htm For manipulating the Visual Build object model, see http://www.kinook.com/VisBuildPro/Ma...bjectmodel.htm |
#5
|
|||
|
|||
Awesome....
|
Thread Tools | |
Display Modes | Rate This Thread |
|
|