splitByToSmallCases static method

List<String> splitByToSmallCases(
  1. String value,
  2. String regex
)

Implementation

static List<String> splitByToSmallCases(String value, String regex){
  List<String> values = value.toLowerCase().split(RegExp(regex));
  return List.of(values);
}