String compare in C#

Posted by Irgat on Stack Overflow See other posts from Stack Overflow or by Irgat
Published on 2010-03-28T00:41:51Z Indexed on 2010/03/28 0:43 UTC
Read the original article Hit count: 743

Filed under:
|
|

I want to compare my string with " ----01-- "

...
if(input == "----01--" ) { .... }

How can I compare 5th element? ( 01 )

© Stack Overflow or respective owner

Related posts about compare

Related posts about strings