concat

Declaration

concat (string1, string2: STRING): STRING

Description

Returns a string that starts with string1 and ends with string2. You should make use of the string concatenation operator '.' for ease of use.

See Also

string functions

Example

script string_test is
  s1   :=   'Test'
  s2   :=   'Engine'
  s3   :=   concat (concat (s1, ' '), s2)
    -- s3 = 'Test Engine'
  s4   :=   s1 . ' ' . s2
    -- s4 = 'Test Engine'
end