Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

First Character of a Text box

Status
Not open for further replies.

svenmontgomery

Technical User
Nov 7, 2002
31
AU
Hey sorry if I sound dumb but how do can I get the first character of a word in a text box? ie so if someone types in C56743 I would get the result "C". Help appreciated thanks
 

Your_Answer = Left(Text1.Text, 1)

Besides Left Also look up Right, Mid, Instr, InstrRev, Trim, and String Parsing Functions.

Good Luck

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top