Binary strings: Difference between revisions

Content added Content deleted
Line 1,886: Line 1,886:
end
end


put replaceAll("o", "X", "Hello world!")
put replaceAll("o", "X", foo)


-- Join strings (4x the same result)
-- Join strings (4x the same result)
str = "Hello " & "world!"
foo = "Hello " & "world!"
str = "Hello" & numtochar(32) & "world!"
foo = "Hello" & numtochar(32) & "world!"
str = "Hello" & SPACE & "world!"
foo = "Hello" & SPACE & "world!"
str = "Hello" && "world!"</lang>
foo = "Hello" && "world!"</lang>


=={{header|Lua}}==
=={{header|Lua}}==