Simple format method for String