TrimStart not trimming leading newlines from string in vsix solution

  • Thread starter Thread starter Kenneth C Carter
  • Start date Start date
K

Kenneth C Carter

Guest
the vsix solution is on .net framwork 4.7.2.

I have a string with leading newlines "\r\n\r\nusing ....".

the string is produced by the text templating engine.


result = result.TrimStart(Environment.NewLine.ToCharArray());

result is still equal to "\r\n\r\nusing ...."

Continue reading...
 
Back
Top