/// <summary>
 /// Trims and replaces the spaces in given string with another string.
 /// </summary>
 /// <param name="str">The input string.</param>
 /// <param name="replaceSpaceWith">The replace space with string.</param>
 /// <returns>Output string.</returns>
 public static string TrimAndReplaceSpaces(this string str, string replaceSpaceWith = "-")
 {
     var replace = new ReplaceSpecialCharacters();
     return replace.TrimAndReplaceSpaces(str, replaceSpaceWith);
 }
 /// <summary>
 /// Removes the diacritics and replace spaces with supplied string.
 /// </summary>
 /// <param name="str">The input string.</param>
 /// <param name="replaceSpaceWith">The replace space with string.</param>
 /// <returns>Output string.</returns>
 public static string RemoveDiacriticsAndReplaceSpaces(this string str, string replaceSpaceWith = "-")
 {
     var replace = new ReplaceSpecialCharacters();
     return replace.RemoveDiacriticsAndReplaceSpaces(str, replaceSpaceWith);
 }
 /// <summary>
 /// Trims and removes diacritics from supplied string.
 /// </summary>
 /// <param name="str">The input string.</param>
 /// <returns>Output string.</returns>
 public static string TrimAndRemoveDiacritics(this string str)
 {
     var replace = new ReplaceSpecialCharacters();
     return replace.TrimAndRemoveDiacritics(str);
 }
 /// <summary>
 /// Makes the nice URL from given string - trim leading,ending spaces,replace diacritics, replace spaces between words with something you choose.
 /// </summary>
 /// <param name="str">The input string.</param>
 /// <param name="replaceSpaceWith">The replace space with string.</param>
 /// <returns>
 /// Output string.
 /// </returns>
 public static string MakeNiceURL(this string str, string replaceSpaceWith = "-")
 {
     var replace = new ReplaceSpecialCharacters();
     return replace.MakeNiceURL(str, replaceSpaceWith);
 }