Hmm.
Something like this would work.
Dim sString
sString = "Some Really long string that you need to remove 12 chars from"
Dim sNewString
Dim iLength
iLength = Len(sString)
sNewString = Left(sString, (CInt(iLength) - 12))
What this does is, it gets the total length of the string (Len()) and then we use left to move the total length of the string minus 12.
hth.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========