format() now returns a string, not a char[]