Is there a substring code to find out only the first letter of a word?
I know that sr.ReadLine.ToUpper will read all the letters capital, but can it read just the first letter?

give some hint with the sample code u want to solve for.
Apart from that some of vb basic commands are there to get any substring from a string

1. Left(string, n) gets n number of characters from the left of the string
2. Right(string, n) gets n number of characters from the right of the string
3. Mid(string,m,n) gets n number of characters starting from the mth character of the string.

Hi,

You can Try this:

MyVar.substring(0,1)

MyVar, is string Variable

Regards
Veena

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.