---
title: "Discussion on \"How to Concatenate Strings in Lua\" | Hashnode"
description: "Discussion on \"How to Concatenate Strings in Lua\". The most straightforward way to concatenate (or combine) strings in Lua is to use the dedicated string concatenation operator, which is two periods (..).\nmessage = \"Hello, \" .. \"world!\"\n-- message equals \"Hello, World!\"\n\nNumbers are coerced to string..."
url: "https://hashnode.com/posts/how-to-concatenate-strings-in-lua/5feb3d95017ebb59232d9c60"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Concatenate Strings in Lua](https://dguo.hashnode.dev/how-to-concatenate-strings-in-lua?utm_source=hashnode&utm_medium=feed)

The most straightforward way to concatenate (or combine) strings in Lua is to use the dedicated string concatenation operator, which is two periods (..). message = "Hello, " .. "world!" -- message equals "Hello, World!" Numbers are coerced to string...

Dec 29, 2020 · 4 min read · dguo.hashnode.dev  
Read the article

-   [#lua](https://hashnode.com/tag/lua)

## Written by

[Danny Guo](https://hashnode.com/@dguo)

@dguo

  
[View profile](https://hashnode.com/@dguo)

Software engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
