classic asp comparison of comma seperated 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 10:22 UTC
Read the original article Hit count: 164

Filed under:
|
|

Hello,

I have two comma seperated 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