i have a simple question why do we do … when we want to write a text
The two periods indicate an append operation.
print("Hello" .. "World") --> HelloWorld
Basically, they just combine two strings together.
They can also convert numbers to strings by doing something like 0 .. ""
but that’s more complicated and less developers use that.
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.