Rope Language Reference - "substr".

The "substr" action returns a specified portion of an original string (refer to string for comments on Rope's string handling). "substr" takes three arguments (in the following order) ..

For example, this script prints the word "Three".

put( "Three blind mice" $a )
substr( $a 0 5 ) println

And this prints "bli"

put( "Three blind mice" $a )
substr( $a 6 3 )

Note: