To return the internal raw text representation of a given value
This function converts formatted text into unformatted text with HTML tags. This can then be further processed in functions that expect unformatted text as a parameter. Afterward, the result can be formatted again with the html() function.
This is very useful when, for example, you display data fields of type "Text (formatted)" with the appropriate formatting in dialogs or e-mails.
Syntax
raw(any)
Return
string
Examples
raw('My sample text')
Result: Returns the content of the formatted (e.g. field type Text (multiline)) text field "My sample text" as unformatted text with HTML tags.