StringUtility.cs 304 B

1234567891011121314
  1. using System;
  2. namespace Unity.Cloud.Collaborate.Utilities
  3. {
  4. static class StringUtility
  5. {
  6. public static string TrimAndToLower(string value)
  7. {
  8. return string.IsNullOrEmpty(value)
  9. ? string.Empty
  10. : value.Trim().ToLower();
  11. }
  12. }
  13. }