S
Siratinee Sukachai
I have hash which is contain list of string value.
I need to check is the value already contained in the key.
Add add the value to the key if the key is not contained that value.
Can I do that?
like in c#
if(!dict[key].contains(value))
{
dict[key].add(value);
}
I need to check is the value already contained in the key.
Add add the value to the key if the key is not contained that value.
Can I do that?
like in c#
if(!dict[key].contains(value))
{
dict[key].add(value);
}