Mid & String functions added