how to get count of '#' in a string ?

Posted by nCdy on Stack Overflow See other posts from Stack Overflow or by nCdy
Published on 2010-03-16T13:15:36Z Indexed on 2010/03/16 13:16 UTC
Read the original article Hit count: 166

Filed under:
|

how to get count of '#' in a string ?

something like int RowFormat = drr[3].ToString("#").Length;

example string "grtkj####mfr "

RowFormat must return 4

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET