11.3.18 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
domain_error
Length < 0

See Also

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


Send feedback on this subject.