regexWed, 01 Mar 2023

in C# how remove all symbols and whitespaces from start and end

csharp string.Trim(new char[] { ' ', '.', ',', '?', '!' });

Questions about programming?Chat with your personal AI assistant