Documentation sub_atom/5
available from version beta

sub_atom/5

Look for subatoms inside an atom.

Description

sub_atom( +atom, ?integer, ?integer, ?integer, ?atom )

sub_atom(Atom, Before, Length, After, Sub_atom) is true if and only if Sub_atom is a subatom of Atom, of lenght Length and with Before characters before and After characters after it. It is re-executable.

Implementation