Dieser kleine Schnipsel entfernt alle Sonder- und Leerzeichen.
1 | using System.Text.RegularExpressions; |
1 2 3 4 5 6 | #region helper private string AdjustInput(string input) { return Regex.Replace(input, @"[^a-zA-Z0-9]", string.Empty); } #endregion |
Dieser kleine Schnipsel entfernt alle Sonder- und Leerzeichen.
1 | using System.Text.RegularExpressions; |
1 2 3 4 5 6 | #region helper private string AdjustInput(string input) { return Regex.Replace(input, @"[^a-zA-Z0-9]", string.Empty); } #endregion |
You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Wieso gut und schnell nicht billig ist.
- Gut und billig - geht nicht schnell.
Möglich wäre auch: