main
 1namespace gorilla.commons.utility
 2{
 3    static public class StringExtensions
 4    {
 5        static public string format(this string formatted_string, params object[] arguments)
 6        {
 7            return string.Format(formatted_string, arguments);
 8        }
 9
10        static public bool is_equal_to_ignoring_case(this string left, string right)
11        {
12            return string.Compare(left, right, true) == 0;
13        }
14
15        static public bool is_blank(this string message)
16        {
17            return string.IsNullOrEmpty(message);
18        }
19
20        static public string to_string<T>(this T item)
21        {
22            return "{0}".format(item);
23        }
24    }
25}