utilSetValueFromString
Converts the string to the type of the value and sets the value with it.
Note that this function is dangerous as it does not return any indication if the conversion worked or not.
Parameters
value | the value to set |
valueStr | the string to get the value from |