Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
8th Edition
ISBN: 9781337102124
Author: Diane Zak
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 7, Problem 12RQ
Program Description Answer

The statement “strLetter = strWord.Substring(3, 1)” assigns the fourth character in the strWord variable to strLetter variable.

Hence, the correct answer is option “B”.

Blurred answer
Students have asked these similar questions
This code does not print anything. Would you please check the code again. Thank you.
If the strWord variable contains the string “crispy”, which of the following statements assigns the letter s to the strLetter variable? a. strLetter = strWord.Substring(3) b. strLetter = strWord.Substring(3, 1) c. strLetter = strWord.Substring(4, 1) d. None of the above.
By using one of the string objects, you will have the ability to precisely locate the place of the substring in which you are interested.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning