Cast input value to data type Use the following function to cast an input value to data type string. tostring(input)