valueOf (string)
- 23 May 2023
-
DarkLight
-
PDF
valueOf (string)
- Updated on 23 May 2023
-
DarkLight
-
PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
valueOf (string) Task Purpose
The stringValueOf task is used to return the primitive value of a string object as a string data type. Primitive value is essentially data that is stored directly in the location the variable accesses.
Potential Use Case
Rarely will this method be used in data manipulation; however, it is useful when you need to convert different types of values into a string.
Properties
Input and output parameters are shown below.
Incoming | Type | Description |
---|---|---|
str |
String | Required. The string to get the value of. |
Outgoing | Type | Description |
---|---|---|
string |
String | A string representing the primitive value of a given string object. |
Example
In this IAP example, the str
variable is listed as Hello World
.
The string is validated and the expected result will be "Hello World"
contained within double quotation marks.
Was this article helpful?