scialom,
but do the strings have anything in common, e.g. always the date at the end? otherwise it doesn't seem to make much sense to me. could you give some more examles how the strings may differ?
if the date is always formatted the same, like MM-DD-YY and not sometimes M-DD-YYYY or something, substr() still may be and option, working with negative values for start and length.