is not the correct way to perform string equality tests. Use:if (str1 == "END"){
Code:if (str1.equals("END")) {
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |