ProtoFlux:Char To String: Difference between revisions

From Resonite Wiki
m bit clearer use case
→‎Examples: gallery not that big
Line 29: Line 29:


== Examples ==
== Examples ==
<gallery widths=480px heights=480px>
<gallery widths=480px heights=320px>
File:Protoflux_example_Char_To_String.webp|example of using Char To String in some ProtoFlux code.
File:Protoflux_example_Char_To_String.webp|example of using Char To String in some ProtoFlux code.
</gallery>
</gallery>


[[Category:ProtoFlux:Strings:Characters]]
[[Category:ProtoFlux:Strings:Characters]]

Revision as of 17:40, 20 February 2024

Char To String
Input
*
Characters

Char to String is a ProtoFlux node that acts as a cast to turn a character into a string.

This is very useful when working with individual characters and one needs to use string operations, such as concatenation, with said characters.

Inputs

Input (Char)

The character to turn into a string.

Outputs

* (String)

The resulting converted string.

Examples