Finding a string in comment

Good morning

I have been reading the manual and the forum and I have not found answer to my interrogation.

I need to find a string into the comment of a route.

I have routes like comments like: comment=“route to office - FailOver” or comment=“route to office - Single”

I want to identify the route using the comment. I have tried

/ip route get [find comment=(FailOver)]

But no result. How can I identify a string into the comments?

Greetings

you can use ~ to match by regular expression
http://wiki.mikrotik.com/wiki/Scripting#Other_Operators

Try

/ip route get [find comment="FailOver"]

Your command will return only if comment is exac match of “FailOver”. In his case it won’t work.