Привет, мне нравится создавать строковую функцию:
if member of a list of string:
"Nissan" from "Honda, Toyota, Nissan, Mazda"
if start with or end with
"Nissan" from "Nis*" as start with
"Nissan" from "*san" as end with
if not start with or end with
"Ford" from "^Nis*" as start with
"Ford" from "^*san" as end with
if Not member of a list of string:
"Ford" from "^Hon*, ^Toy*, Nis*, Mazda"
Я думал, что Regex может быть решением, но как мне его реализовать?
Спасибо, Уэс