A developer has created a variable of type String called "MyNumbers" and assigned to it the following value: "1. 2, 3.4, 5. 6". What is the resulting data type for the expression MyNumbers.Split("."c)(1)?
When the Split method is used on a String variable, the result is an array of substrings. However, accessing a specific element of this array (e.g., MyNumbers.Split("."c)(1)) returns a single substring, which is a String.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit