noun. a string that is part of a longer string.
Example sentences of the word substring
1. Noun, singular or mass
This is true even if there's an integer at the start of the string or within it, although you can take a substring of the string or use a regular expression to find the integer.