fromString

Parse a data item from a String.

Return

the converted data.

Parameters

str

string representation of the data.

Throws

if the value is not a valid value.