justin = { main feed , music , code , askjf , social , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.

Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [all]

Question: is in EEL2 something similar to string.gsub? and i was disappointed, that there's no simple concatenation in 1 line like (..) in Lua, for example single line in Lua: local box = "n" will be much cluttered in EEL2, isn't it? But i wanted only to ask, if you have
Asked by Pooooooooony (94.230.192.x) on June 19 2018, 5:57pm
Reply on June 19 2018, 6:13pm:
    Ah gsub would be handy, yeah.

    You can use sprintf() to concatenate multiple things, e.g.
    str = sprintf(#,"%s%s%s", a, b, c);
    Different syntax, yes, but also quite handy once you get used to it.
[back to index] | [unreplied] | [replied] | [all]
Copyright 2018 Justin Frankel. | RSS