Skip to content

@str.concat

Concatenate strings together.

Returns: string

@str.concat(first ...rest)
Name Type Description
first string First string segment
[...rest] string Strings to append
# Concatenate strings
set $full @str.concat("hello" " " "world")
# Concatenate with helper result
set $greeting @str.concat("hi " @str(@me))
  • @str.join — join array elements with a delimiter
  • @concat — concatenate arrays