Okay this is a very simple question and I'm embarressed that I don't know it. I know it in C++ and such but for some reason I can't remember the syntax for VBScript. I want to truncate a string based on a character. For example...
http://www.frogs.com?place=egypt
What I want is to remove the ? and everything after it.
Replace doesn't work because I need it to do it regardless of what character it is.