![]() |
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 "\\") |
1 Attachment(s)
See the attached sample.
|
Quote:
A quick qs though, is there a list of similar functions available in VBP help? or you just called a VB function? |
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 |
Awesome....
|
All times are GMT -5. The time now is 07:50 AM. |
Copyright © 1999-2023 Kinook Software, Inc.