The article linked below explains how to remove or replace specific characters from a string. The code sample is provided contains a VBScript function to parse a string, replacing or removing any character found in the array declared at the beginning of the function.VBScript String Clean Function ...
Well, inside our double quote marks we have a single blank space followed by this construction: {2,}. In regular expressions syntax, that says look for at least 2 consecutive instances of the preceding character (in this case, a blank space). And what if there are 3 or 4 or 937 conse...
>>>String(3, "*")Cannot use parentheses when calling a Sub (0x414) >>>Call String(3, "*")'must use parentheses here >>>Call String 3, "*"Expected end of statement (0x401) >>>v = String(3, "*")'must use parentheses here either >>>v = String 3, "*"Expected end of state...
The opportunities for mistakes and nasty surprises are many and varied. But as Doctor Scripto points out, the Chinese character for crisis is also the character for "I didn't write that code." What? Bu shi? (No, this is not what you're thinking: it's actually Chinese for "Not so....
in which case a string before the colon specifies characters that can be used for leading symbol's character, and string after the colon specifies characters that can be used for all characters of the symbol except the first (the leading) - e.g.lI:lI1orO:O0. The recommended values arelI...
Hi, I'd like to use the library PDFCreatorPilot.dll with VB6 and Windows XP service pack3. The problem is that I can't find this library among the libraries I can add to my VB6 project (References..). I did this test too: 1) Installed the latest ve
core application, enabling and disabling controls, and modifying values on the form, depending on the 'stage.' The last action is actually carried out directly by the application itself; a value is written to the registry based on the string that is stored in one of the labels on the form...
Hi all. Does anyone know of a VBScript function that can remove extraneous spaces from the middle of a string? Ex. If I read in the text 'hello world' to a variable strText, is there someway I can remove the space easily given that I won't always know the length of the string?
Oh well. I've been copying the entire file from one tmp file to another and removing the empty lines. Completely inefficient, but nonetheless it works. I'm getting a bit better with the RegExp pattern stuff, but the "\n" character still escapes me... Onwards, Q- Upvote 0...
The opportunities for mistakes and nasty surprises are many and varied. But as Doctor Scripto points out, the Chinese character for crisis is also the character for "I didn't write that code." What? Bu shi? (No, this is not what you're thinking: it's actually Chinese for "Not so....