Answer:
Option 2. chrFirstLetter = strWord.Chars(0)
is the correct answer.
Step-by-step explanation:
- strWord is the given string that will be entered by the user.
- Chars() represent the characters of the string.
- Chars(0) will extract the first word from the string because 0 is given as index to the string.
- the first letter of the string when extracted will get stored into the variable chrFirstLetter.
All other option are wrong as they fetch the wrong result.
I hope it will help you!