[thelist] Easy VBscript Question: relative expressions

Kiddy, Jon Jon.Kiddy at RoswellPark.org
Thu Jul 10 15:07:19 CDT 2003


Need VBscript that can do the following; efficiency is key.

Takes a string:  "Smith,-John2x2.jpg" or "Smith,-John2.jpg"
And change it to:  "John Smith"

I can think of several ways to do this, but I'm looking for most
efficient use of code. However, I need to use Vbscript. (Needs to be
handled server side.) 
Does Vbscript support regular expressions? If so, this may be the way to
go.

TIA.
-Jon


More information about the thelist mailing list