String tab Syntax Buttons
The String tab syntax buttons indicate all the ways you can add or use a String in an expression. Clicking on one of the buttons adds the indicated syntax (minus the question marks) to your expression. In the spaces left by the question marks, enter the appropriate values.
Syntax Button |
Type |
Description |
---|---|---|
''?'' |
string literal |
A string. See String Literals |
u''?'' |
extended string literal |
An extended string. The Unicode character codes for the characters from 128 and higher. Since ASCII is a seven-bit code and most computers manipulate data in eight-bit bytes, many extensions use the additional Unicode codes available by using all eight bits of each byte. |
\u???? |
Unicode literal |
A Unicode character. |
? + ? |
string concatenation |
Concatenates two strings into one. See also String Concatenation Operator + |
?.toString() |
cast |
Returns the string representation of the specified object. |
String.valueOf( ? ) |
cast |
Returns the string representation of the specified object. If the object is null, it returns “null”. |
(Document)? |
cast |
Converts a string into a text document. |