Skip to content

How to concatenate strings? #21538

Answered by linux-time
linux-time asked this question in Q&A
Discussion options

You must be logged in to vote

I tried .test = .message + .foo will report an error. You need to write it like this: .test = string!(.message) + string!(.foo)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@linux-time
Comment options

Answer selected by jszwedko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants