Last post May 15, 2017 09:39 AM by Cathy Zou
May 14, 2017 12:47 PM|Lazy_Perfectionist|LINK
if (ans[o] != answer[tu])
It gives "1BD2A3CE1BD2A3CE". But 1BD2A3CE
It doesn't give "1BD2A3CE1BD2A3CE".
May 14, 2017 02:52 PM|PatriceSc|LINK
Could it be that you have an extra space for example? Or you could have 1BD2A3CE1 on one side and BD2A3CE on the other side. Put a breakpoint or use something such as :
to better understand which values you have (I assume they are both strings rather than objects?)
May 15, 2017 09:39 AM|Cathy Zou|LINK
Set break point to debug your code. I suppose the value in one of ans[o] and answer[tu] could be null.