Documentation

Una is developed by Una Technologies Limited

All rights reserved

© 2022 Una Technologies Limited

Print

Setting Text

String

				
					{"blocks":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable>list</variable><variable>index</variable></variables><block type=\"text\" disabled=\"true\" x=\"-22\" y=\"67\"><field name=\"TEXT\"/></block></xml>"}
				
			

This block is used to set a letter or text inside the block.

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\"><shadow type=\"text\"><field name=\"TEXT\">Hello</field></shadow></value></block></statement></block></xml>"}
				
			

The output:

String - Output
Previous Checking the Length of Text
Next Breaking Text with Separators