UPDATE: stri_sub - if from is two column matrix, then to and length are not used. If length < 0 then return empty string (that's why pmax is here)