mbon
08-20-2003, 07:45 AM
Hello,
I'm trying to insert the following string into a source file:
[assembly: SomeAttribute("foo")
(Note that there is no closing bracket)
If I enter this string in the replace box of the 'Replace in file' item it complains that if find no closing bracket and generates a parsing error (expecting section). Even if i adde the closing bracket it does not work because vbp thinks that is is a piece of code and wants to execute teh statement 'assembly:...'.
I tried to create a macro and a function that returns a string that contains the string above, but even the result of both ways are subject to parsing.
So how can i insert a '[' in a file?
I'm trying to insert the following string into a source file:
[assembly: SomeAttribute("foo")
(Note that there is no closing bracket)
If I enter this string in the replace box of the 'Replace in file' item it complains that if find no closing bracket and generates a parsing error (expecting section). Even if i adde the closing bracket it does not work because vbp thinks that is is a piece of code and wants to execute teh statement 'assembly:...'.
I tried to create a macro and a function that returns a string that contains the string above, but even the result of both ways are subject to parsing.
So how can i insert a '[' in a file?