Given a string, output how many sandwiched strings can be found, including the whole string itself if it is a sandwiched string without RegEx.
String input length wil