0
Reply

console application

k john

k john

Mar 13 2006 3:26 AM
1.7k

 Hi , can anyone give an hint for this task...

Given list1 (a set of strings separated by comma) and list2, it should return a list1 with all occurrences of list2 removed from it

Syntax: RemoveFromList (list1, list2)

Example:
RemoveFromList("abc, def, ghi, abc, def", "abc, xyx")
should return:
"def, ghi, def"

it will remove all occurrences of abc and sicne xyx is not present in list1 it should ignore it.