justin = { main feed , music , code , askjf , 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] | [recent comments] | [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.

Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2024 Justin Frankel. | RSS