Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The split method on a string allows you to split a string into a Lua table as list based on the delimiter you specify.

This is very useful for many problems.

Copy paste this code into the translator:

local Fruit = "Apple,Banana,Orange";
local List = Fruit:split(",");
trace(List);

You should see:

  • No labels