ProtoFlux:Char To String: Difference between revisions

From Resonite Wiki
m example clarification + alt text
m style & formatting
 
Line 12: Line 12:
|}}
|}}


Char to String is a ProtoFlux node that acts as a cast to turn a [[Type:Char|character]] into a [[Type:String|string]].
The '''Char to String''' node acts as a cast to turn a [[Type:Char|character]] into a [[Type:String|string]].


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


=== Input ([[Type:Char|Char]]) ===
=== Input ([[Type:char|char]]) ===


The character to turn into a string.
The character to turn into a string.
Line 24: Line 24:
== Outputs ==
== Outputs ==


=== * ([[Type:String|String]]) ===
=== * ([[Type:string|string]]) ===


The resulting converted string.
The resulting converted string.

Latest revision as of 19:59, 3 June 2024

Char To String
Input
*
Characters

The Char to String node 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