try

lowerstrIn = left(OriginalString,1)
upperstrIn = ucase(lowerstrIn)

newstring = replace(YourString,lowerstrIn,upperstrIn,1,1,0)

that should replace the first letter with an upper case version of itself

-----Original Message-----
From: Kornelsen, Gerald [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002 8:10 AM
To: '[EMAIL PROTECTED]'
Subject: MI-L Lcase/Ucase code snippet needed - sum


Thanks for the quick responses.  The answer, in MapInfo, is Proper().

Unfortunately, I need it for VB script, and I was naive enough to think the
code would be similar.  Silly me.

Thanks again.

Gerald Kornelsen, C.E.T., A.A.M.
GIS Technologist
City of Winnipeg
Property Assessment Deptartment
986-4975


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 4606



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 4611

Reply via email to