little addon for stringutil.substring