Conversion Predicates
str_int(Str,Int)
str_atom(Str,Atom)
char_int(Char,Int)
Conversion between terms of two types
Remarks
str_int/2 - performs conversion between string and integer.
str_atom/2 - performs conversion between string and atom.
char_int/2 - performs conversion between character and its ASCII code.
Example
str_int("123",INT)
INT=123
1 Solution
str_atom(STR,atomic)
STR="atomic"
1 Solution
char_int(C,65)
C='A'
1 Solution