startsAndEndsWith function
Returns true if this string starts and ends with the same given string If whitespaces can be present is better to execute first a trim() call.
Implementation
bool startsAndEndsWith(String string, String delimiter) =>
string.startsAndEndsWith(delimiter);