substring/3 - retrieve a string that begins at a specified position within a larger string and continues through the end of the larger string
The substring/3 function retrieves a string that begins at a specified position within a larger string and continues through the end of the larger string.
$NEWSTR=substring($STR,$SKIP)
substring/3 example
$DD = substring($YYYYMMDD,6);
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*