[RString] length functions implemented