Simplified some functions of String by replacing with standard functions.