SWI-Prolog - search in atoms



Hi all!
I would like to find a substring in an atom.

Ex.
A = this_is_an_example_of_atom.

I wold search "example" in the A atom, to know if there is the substring
"example" in the A atom.
Is it possible (with SWI-Prolog) ?

Thanks,
Luigi


.



Relevant Pages