SteveMillman
Programmer
Hi.
Is there an easy way to remove spaces (or special characters) from a string? I noticed that the trim
commands are geared towards only removing leading and trailing spaces. I have a file name being passed to me that contains a colon and also some spaces that acrobat
does not particularly like, when I try to build pdf members.
I am used to COBOL allow you to examine a string replacing
characters (with nothing.. in some cases, to eliminate certain embedded values); but I havent found a similar function or command in VBA.
I am really new to VBA and would rather not have to setup
loops to look a character at a time and output characters conditionally, if they are not spaces or special characters.
Thanks for your help,
Steve
Is there an easy way to remove spaces (or special characters) from a string? I noticed that the trim
commands are geared towards only removing leading and trailing spaces. I have a file name being passed to me that contains a colon and also some spaces that acrobat
does not particularly like, when I try to build pdf members.
I am used to COBOL allow you to examine a string replacing
characters (with nothing.. in some cases, to eliminate certain embedded values); but I havent found a similar function or command in VBA.
I am really new to VBA and would rather not have to setup
loops to look a character at a time and output characters conditionally, if they are not spaces or special characters.
Thanks for your help,
Steve