Find All Occurrences Of A Substring In A String Python, A substring is a contiguous occurrence of characters within a string.