object

# atom

> Atom data type predicates.

author:
  `Paulo Moura`
version:
  `1.5`
date:
  `2017/10/30`

compilation flags:
  `static, context_switching_calls`

extends:
  `public atomic`

## Public interface

### replace_sub_atom/4

> Replaces all occurences of Old by New in Input returning Output. Returns Input if Old is the empty atom. Fails when Output does not unify with the resulting atom.

compilation flags:
  `static`
template:
  `replace_sub_atom(Old,New,Input,Output)`
mode – number of proofs:
  `replace_sub_atom(+atom,+atom,+atom,-atom) – one`

### split/3

> Splits an atom at a given delimiter into a list of sub-atoms.

compilation flags:
  `static`
template:
  `split(Atom,Delimiter,SubAtoms)`
mode – number of proofs:
  `split(+atom,+atom,-list(atom)) – one`

## Protected interface

(see related entities)

## Private predicates

(see related entities)

## Operators

### (none)

## Remarks

### (none)

## See also

### (none)