How do I concat strings in ui flow
- 
					
					
					
					
 How do I concat strings? I want to have a timer, and a label on screen 00 01 02 .... 
 I want to create the string from seconds, so that if it is less than 10 0+secondsso in a function: 
 varaible tmp;
 if (sec<10) variable ="0" + string of secs ====> concat string
 else variable = string of secsHow in ui flow 
- 
					
					
					
					
 @alon24 Sorry what is concat strings? if you are unsure of english words try posting in your language. 
- 
					
					
					
					
 "hello" + "world" => "hello world" "0" + "1" => "01" 
- 
					
					
					
					
 
- 
					
					
					
					
 surely if and else are showing the same thing? 
 I'm feeling confused but its something like this.
 NOT complete!
  
- 
					
					
					
					
 I do not think you understand, I want to create a new string to show. 
 Say I have "hello" and "world" I want to. Create a new string with "hello world" in it.In js: 
 Let a= "hello" + "world"Now a== "hello world" Hope this is now more understandable, it should be in the text section, something like join action for text 
- 
					
					
					
					
 Can u add https://github.com/google/blockly/wiki/Text#text-creation The create with and append to 
- 
					
					
					
					
 @alon24 said in How do I concat strings in ui flow: I do not think you understand, I want to create a new string to show. 
 Say I have "hello" and "world" I want to. Create a new string with "hello world" in it.In js: 
 Let a= "hello" + "world"Now a== "hello world" Hope this is now more understandable, it should be in the text section, something like join action for text You are correct, I didn't understand. 
 Hmn, nope I can't find away to do it in UIFlow however there should be away in micropython which is the underlying programming language.Sorry, I can't help you anymore here. 
- 
					
					
					
					
 Doesn't this work?  In micropython it would be the same as python : stringA + stringB 
- 
					
					
					
					
 So this worked, because I needed numbers  
- 
					
					
					
					
 @alon24 said in How do I concat strings in ui flow: So this worked, because I needed numbers  Would you mind if I added this to my book? 
- 
					
					
					
					
 @ajb2k3 Actually, “concat” is a widely recognized and valid term in programming that refers to combining two or more strings. There’s no need to be condescending to a fellow programmer by telling them to “use his language.” He's used English in understandable manner. 

