andrea.ong
(Andrea Ong)
1
Hi, I’m trying to use the Value of the Dictionary to compare with a Variable.
Example:
PlaceOfReg = United Kingdom
SellerRegion = United Kingdom
If both matches, then continue.
It’s not successful currently and I’m not sure what syntax to use.
Appreciate your help here.
Yoichi
(Yoichi)
2
Hi,
Can you try the following expression?
RegionDict(PlaceOfReg).Equals(SellerRegion)
Regards,
andrea.ong
(Andrea Ong)
3
I tried this earlier. But for some strange reason, it still doesn’t match.
Is there a way I can print the results? I tried using the message box to print it as well but it didn’t work.

Yoichi
(Yoichi)
4
Hi,
Can you try to check character code of each string using the following expression?
String.Join(",",SellerRegion.Select(Function(c) AscW(c).ToString))
String.Join(",",RegionDict(PlaceOfReg).Select(Function(c) AscW(c).ToString))

Regards,