0

Substring

Pls could anyone explain me what is Substring of a string???

4th Mar 2017, 4:30 AM
Himalaya Tyagi
Himalaya Tyagi - avatar
2 ответов
+ 4
A substring is a section of a string. So in the string "hello", "hel" is a substring.
4th Mar 2017, 5:04 AM
Samuel Neo
Samuel Neo - avatar
0
a='This is an Example' ''' here 'a' is a sting where 'This', 'is', 'an' and 'Example' are substrings not only these every individual part of the string is a sub string like 'is an','n Exa','xampl' etc.. '''
4th Mar 2017, 8:06 PM
vishnu
vishnu - avatar