0
Substring
Pls could anyone explain me what is Substring of a string???
2 Antworten
+ 4
A substring is a section of a string.
So in the string "hello", "hel" is a substring.
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..
'''