12.06.2014, 17:16
Quote:
There's strcmp which already exists.
But if you want to script your own, you have to do a loop through each cell of both string and comparing if the cell x from string 1 equals to the cell x from string 2. If it does, simply use "continue;". If it doesn't, use "return false;" for example or return anything you want when the strings aren't identic. |