@@ -202,6 +202,7 @@ public static bool IsPathSpecialChar(this string input)
202202 const string specialChar = @"|!#$%&/()=?»«@£§€{};'<>_, " ;
203203 return specialChar . Any ( input . Contains ) ;
204204 }
205+
205206 public static string RemoveSpecialCharacters ( this string str )
206207 {
207208 var sb = new StringBuilder ( ) ;
@@ -211,6 +212,7 @@ public static string RemoveSpecialCharacters(this string str)
211212 }
212213 return sb . ToString ( ) ;
213214 }
215+
214216 public static string RemoveMiniSpecialCharacters ( this string str )
215217 {
216218 var sb = new StringBuilder ( ) ;
@@ -220,6 +222,7 @@ public static string RemoveMiniSpecialCharacters(this string str)
220222 }
221223 return sb . ToString ( ) ;
222224 }
225+
223226 public static string RemoveSuperSpecialCharacters ( this string str )
224227 {
225228 var sb = new StringBuilder ( ) ;
@@ -234,8 +237,9 @@ public static string ReplaceNumCharacters(this string str)
234237 {
235238 return str . Replace ( "0" , "Zero" ) . Replace ( "1" , "One" ) . Replace ( "2" , "Two" ) . Replace ( "3" , "Three" )
236239 . Replace ( "4" , "Four" ) . Replace ( "5" , "Five" ) . Replace ( "6" , "Six" ) . Replace ( "7" , "Seven" )
237- . Replace ( "8" , "Eight" ) . Replace ( "9" , "Nine" ) . Replace ( "-" , "Dash" ) . Replace ( "." , "Dot" ) . Replace ( "," , "Comma" ) ;
240+ . Replace ( "8" , "Eight" ) . Replace ( "9" , "Nine" ) . Replace ( "-" , "Dash" ) . Replace ( "." , "Dot" ) . Replace ( "," , "Comma" ) ;
238241 }
242+
239243 #endregion Old
240244 }
241245}
0 commit comments