Added a Format extension method to strings

Signed-off-by: Martin Evans <martindevans@gmail.com>