If statement failing to find substring -
02-27-2007
, 12:58 PM
The string is :
Calculating checksum for local file(s) ...
Transfer process initiated ...
[1 of 2 file(s)] [57 of 89 B] [64% completed] [transferring: RaulSil.xml
progress: 57 of 57 B]
[2 of 2 file(s)] [89 of 89 B] [100% completed] [transferring:
RaulSil.xml.md5 progress: 32 of 32 B]
Files uploaded, performing post-upload operations ...
Check that this is the only process running
Start Appending file
Done with Script, Screen can now be closed
Batch completed.
My if statement is not able to find "Batch completed"
What am doing wrong.?
if ( String.Compare(strOutput.Substring(0), "Batch completed.", true) > 0)
errorFound = false; |