Select from following answers:- Split()
- SubString()

- Trim()
- Append()
- All Above
SubString() is the method used to get a part of the defined string based on the positions. Example,
string Name = "Krishna";
string Part = Name.SubString(2,5);
'part' is loaded with "ishn" depending upon the given index.
Show Correct Answer
Asked In: Spotted While Learning |
Alert Moderator