Am getting a bit stuck on one of my scripts.. Everything works exept one of my searches doesnt see the different between 2 texts fields even when there is differences.
The whole script:
Error (Added some XXXX on the line since there is name and phone nr on it..):
$Service = "3875 - 3 - Other - Trafikkostnad - 070-636XXXX - XXXXXXX-Lei XXXX - 2016-09"
Collection::Service = "3875 - 1 - Other - Trafikkostnad - 070-636XXXX - XXXXXXX-Lei (Lei-XXXXXXX) XXXX - 2016-09"
From line: 47 is when things get wrong.
On line 55 its suppose to check if the $Service and Collection::Service is exacly the same text and if it is then summerize the total amount.. if its not, just ignore.
Can anyone see where the problem is located ? :/
And i know the code isnt perfect written. but it normally works =) so please dont judge me on it =)