Which of the following statements assigns the first four characters in the strItem variable to the strWarehouse

Question:

Which of the following statements assigns the first four characters in the strItem variable to the strWarehouse variable?
a. strWarehouse = strItem.Assign(0, 4)
b. strWarehouse = strItem.Assign(1, 4)
c. strWarehouse = strItem.Substring(0, 4)
d. strWarehouse = strItem.Substring(1, 4)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: