regexWed, 01 Mar 2023

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

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

Want to kickstart your project?Use the new AI Studio to create your code