concat
BAP Online Manuals : Library
Reference : Library by Name
: concat
Previous: compile
Next: conlist
BAP Online Manuals : Library Reference : Library by Name : concat
Previous: compile
Next: conlist
Previous: compile
Next: conlist
6.2.26. concat
concatenates two strings.
SYNOPSIS
concat(Str1,Str2,Result)
SYNTAX
concat(Str1,Str2,Result) (i,i,o)
ARGUMENTS
string(Str1) (i) first string
string(Str2) (i) second string
string(Result) (x) the combination of concatenating the first and second string.
DESCRIPTION
Merges to strings to one by appending the second argument to the first.
EXAMPLE
concat("Hello ","World!\n",Hello), write(Hello).
ERRORS
A runtime error occurs if the arguments are bound to something other than strings.
LAYERS
prolog-process, client-server, object
RELATED PREDICATES
conlist , frontstr , fronttoken , frontchar
BAP Online Manuals : Library Reference : Library by Name : concat
Previous: compile
Next: conlist