Tuesday, 13 August 2013

String Manipulation Comparison

String Manipulation Comparison

I have this kind of string
"A-B-C-D"
"B-C-A"
"D-A"
"B-A-D"
"D-A-B-C"
now my problem is if for example i want to get the value of those string
that has "A-C" even in reverse form "C-A" i should get the numbers 1,2,5
because those numbers has C and A in them

No comments:

Post a Comment