我如何计算C#中字符串开头的空格量?
例:
" this is a string"
结果将是4.不确定如何正确地做到这一点.
谢谢.
c# string whitespace count
c# ×1
count ×1
string ×1
whitespace ×1