Converts a string to the specified type.
This can be useful when dealing with ConVars.
vector
angle
float
int
bool
string
Creates a vector from a string representation.