"Jonadab The Unsightly One" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It would be possible to have right-associative operators (that bind at > least more tightly than comma and possibly very tightly) and convert a > number to one of these objects, so that we can do stuff like this: > > substr($string, 2 bytes, 4 bytes) = $substitute;
I think that the common case will use the same units for both the index and the length. So perhaps: substr($string, 2, 4 :bytes) would be more appropriate. Also, by only requiring us to write the unit once, the need for ultra-short abbreviations is reduced. Dave.