function split(source, sep)
local result, i = {}, 1
while true do
local a, b = source:find(sep)
if not a then break end
local candidat = source:sub(1, a - 1)
if candidat ~= "" then
result[i] = candidat
end i=i+1
source = source:sub(b + 1)
end
if source ~= "" then
result[i] = source
end
return result
end
local destination_number="ya fanat chapo"
local result = split(destination_number, "[%s]+")
for i, v in ipairs(result) do
print(v)
end