stringValueOf

The stringValueOf task returns the primitive value of a string object as a string data type. Primitive value is data that is stored directly in the location the variable accesses.

Potential use case

This method is rarely used in data manipulation; however, it is useful when you need to convert different types of values into a string.

Properties

IncomingTypeDescription
strStringRequired. The string to get the value of.
OutgoingTypeDescription
stringStringA string representing the primitive value of a given string object.

Example

In this example, the str variable is set to Hello World.

stringValueOf task with str set to Hello World

The string is validated and the expected result will be "Hello World" contained within double quotation marks.

stringValueOf task output showing Hello World in double quotes