How to split string into list of characters

You can write your topic however you want, but you need to answer these questions:

  1. **What do you want to achieve?

I want to make it so a string goes from ‘this’ to ‘t h i s’

  1. What is the issue? Include screenshots / videos if possible!

I literally cant figure this out

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

searching the dev fourm but no one seemed to have already made a topic on this

local str = 'example'
local split = string.split(str, ' ') -- should come out as this: e x a m p l e

print(tostring(split))

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

local sentence = "hello" 
local result = ""

for _,v in pairs((sentence):split("")) do result = result..v.." " end 

print(result)

split places the letters/words into a table

(post deleted by author​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​)

yeah you can use concat too since this is simple, although what I put does the same thing and allows for more complex manipulation if it comes up. but concat is definitely more ‘efficient’ for simplified cases such as this.