String.to_string
String.to_string
Function
Returns the current string itself.
Syntax
string.to_string()
Parameters
No parameters.
Return value
| Type | Description |
|---|---|
| String | Returns the current string. |
Example
text = 'BT' result = text.to_string() // Output: BT print result
Notes
- This method is used for explicit stringification in chained scenarios.