Insert a carriage return.
1 string.cr
<string.cr />
Returns | |
---|---|
Type | Description |
string | "^M" |
Remarks
When using the function string.cr in the middle of a character string, this is divided in two parts separated by a break line.
Example
Shows on screen a string using the function string.cr.
Copy
<xsql-script name='string_lf'> <body> <set name='a'>STR1</set> <set name='b'> <string> String <string.cr /> with carriage return. </string> </set> <println><b/></println> </body> </xsql-script>
Returns:
Copy
String with carriage return.