Formatting and String Functions

Updated comments and string functions