Classic asp comparison of comma separated lists

Posted by Reiwoldt on Stack Overflow See other posts from Stack Overflow or by Reiwoldt
Published on 2010-06-16T10:19:28Z Indexed on 2010/06/16 11:22 UTC
Read the original article Hit count: 244

Filed under:
|
|

Hello,

I have two comma separated lists:-

36,189,47,183,65,50

65,50,189,47

The question is how to compare the two in classic ASP in order to identify and return any values that exist in list 1 but that don't exist in list 2 bearing in mind that associative arrays aren't available.

E.g., in the above example I would need the return value to be 36,183

Thanks

© Stack Overflow or respective owner

Related posts about regex

Related posts about arrays