rope

The <rope> object is a way to efficiently concatenate long strings. String literals in the Relevence language are limited to 512 characters, but internally, they can be any length. Ropes provide a technique for concatenating string literals that is memory-efficient. In general, the Fixlet author will not need to worry about ropes, but they are useful for increasing efficiency.

Version Platforms
8.0.584.0 AIX, HP-UX, Mac, Red Hat, SUSE, Session, Solaris, Windows
8.1.535.0 Debian, Ubuntu

Creation

rope <string> : rope

Properties

length of <rope> : integer

Casts

<rope> as string : string

Operators

<rope> & <rope> : rope
<rope> & <string> : rope
<rope> contains <string> : boolean
<string> & <rope> : rope