KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I just want to know the difference between CompareStr and = for comparing strings in Delphi. Both yield the same result. if(str2[i] = str1[i]) then ShowMessage('Palindrome') if(CompareStr(str2[i], str1[i]) = 0) then ShowMessage('Palindrome') Both show message Palindrome.
Tags (comma-separated)
Save Edits
Cancel