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.
Input and output parameters are shown below.
||String||Required. The string to get the value of.|
||String||A string representing the primitive value of a given string object.|
In this IAP example, the
str variable is listed as
The string is validated and the expected result will be
"Hello World" contained within double quotation marks.