Reference

Class

RiString

Name

text

Description Gets/sets the text contained by this object
Syntax
text();
text(theText);
Parameters
Stringtext (optional)
Returns
String OR RiStringthe contained text (for sets) or this RiString (for gets)
Example
myRiString.text("apple"); // set the text 
txt = myRiString.text(); // get the text
Platform Java / Javascript