a string extension for .net