https://twitter.com/kendaleiv/status/1458434936923435013
Noticed StringSplitOptions.TrimEntries was added in .NET 5 https://t.co/pO3FPkBOCE
— Ken Dale (@kendaleiv) November 10, 2021
"a,b,c".Split(",", StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries)
using these both also removes whitespace only items, different from .Select(x => x.Trim())#dotnet
There are no comments yet.