Its possible sum strings?

hello!
in processing i do:

 String text = " hello"; 

 for (int i = 0; i < 4; i++) {
    text += text;
  }

and text now is hellohellohellohello.
its possible in openframeworks?

try this but it doesnt work:

    string typeStr;
    typeStr = "hello";

   for(int i =0; i > 4;i++){
        typeStr+=typeStr;
    }

Hi,
i < 4, not i > 4 :wink:

:flushed: delete this post please!

1 Like