chrisliando Posted February 18, 2008 Posted February 18, 2008 Hi, I am developing a text comparer application. How to detect if there is an empty line in the textBox? I have tried with the method String::IsNullOrEmpty and detect if the line is equal to "\n" but it still don't work.. How to do that? I am using Visual C++ and .Net 2.0. Thank you very much. Quote
Administrators PlausiblyDamp Posted February 18, 2008 Administrators Posted February 18, 2008 What code are you using to perform the compare? If \n isn't matching you might want to also try \n\r just in case. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
chrisliando Posted February 18, 2008 Author Posted February 18, 2008 I use like the ones I posted. Thank you I'll try this first.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.