Need to find substring of a form field

I have recently started to work on ABBYY flexicapture. I have a requirement in which i need to check if a string is starting with  "00" or not. I tried using normal SubString() function of C#, but it was not compiling. I found below method in

Int Find(String subStr, Int startPos = 0)

and i tried to use it like below:

int find=str.Find("00",0);

it is throwing below error:

'string' does not contain a definition for 'Find' and no extension method 'Find' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?) (line 9, pos 14)

Could you please help me with this.




Please sign in to leave a comment.