The toPlainText(...) function has only one variation, not counting syntax variations. It makes a copy of a String value, converting it from formatted HTML to plain text.

Syntax:
toPlainText( source-string )
source-string.toPlainText()

 

Parameter Description
source-string

The String from which to copy.