Answers for "check if substring is in string dart"

3

dart check if string is contained in list of strings

String value = 'whatever';

bool res = list.any((listElement) => listElement.contains(value);
Posted by: Guest on March-30-2021

Code answers related to "check if substring is in string dart"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language