Documentation

Una is developed by Una Technologies Limited

All rights reserved

© 2022 Una Technologies Limited

Print

Concatenating the Text

Join

				
					{"blocks":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"text_join\" disabled=\"true\" x=\"-22\" y=\"202\"><mutation items=\"2\"/><value name=\"ADD0\"><shadow type=\"text\" disabled=\"true\"><field name=\"TEXT\">Hello</field></shadow></value><value name=\"ADD1\"><shadow type=\"text\" disabled=\"true\"><field name=\"TEXT\">World</field></shadow></value></block></xml>"}
				
			

This block is used to set a piece of text by joining another text together.

Parameters: String

Output: String

Sample code:

				
					{"blocks":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"pxt-on-start\" x=\"0\" y=\"0\"><statement name=\"HANDLER\"><block type=\"basic_consoleLogText\"><value name=\"text\"><block type=\"text_join\"><mutation items=\"2\"/><value name=\"ADD0\"><shadow type=\"text\"><field name=\"TEXT\">Hello</field></shadow></value><value name=\"ADD1\"><shadow type=\"text\"><field name=\"TEXT\">World</field></shadow></value></block></value></block></statement></block></xml>"}
				
			

The output:

Join - Output
Previous Transforming Text to Number
Next Checking the Length of Text