String s = “Today is test”;
Pln(s.indexOf(‘T’));
Pln(s.subString(0,7) + “ “ + “Holiday”);
Answers
Answered by
3
Check the above attachment
Output:-
0
Today i Holiday
- Refer to attachment for explaination (Brainly problem: couldn't post answer)
Attachments:
Similar questions