11.3.19 atom_length/2   [ISO]

Synopsis

atom_length(+Atom, -Length)

Length is the number of characters of the atom Atom.

Arguments

Atom
atom, must be nonvar
Length
integer

Exceptions

instantiation_error
Atom is uninstantiated
type_error
Atom is not an atom, or Length cannot be unified with an integer
domain_error
Length < 0

See Also

atom_length/2, atom_concat/3, sub_atom/5.


Send feedback on this subject.