Well, if you want to check the first 4 characters, then only include that much in the list you check for. So, instead of using "Paris, Marseille, Lyon, Dijon", use "Pari, Mars, Lyon, Dijo" as the list.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.