Added function for transforming string patameters to standard char * array format