/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static bool IsNullOrEmpty(this string input) { if (string.IsNullOrEmpty(input)) return true; return string.IsNullOrEmpty(input.Trim()); }