ProtoFlux:Concatenate Chars: Difference between revisions

From Resonite Wiki
wrong node title
clarify use case and gallery size
Line 15: Line 15:
Concatenate Chars is a ProtoFlux node that can combine two characters into a new string.
Concatenate Chars is a ProtoFlux node that can combine two characters into a new string.


This is very useful when working with individual characters and need to put them with strings or put them into text.
This is very useful when working with individual characters and need to perform string operations on them, saving a node if one needs to concatenate two as well.


== Inputs ==
== Inputs ==
Line 34: Line 34:


== Examples ==
== Examples ==
<gallery widths=480px heights=480px>
<gallery widths=480px heights=240px>
File:Protoflux_example_Concatenate_Chars.webp|example of using Concatenate Chars in some ProtoFlux code.
File:Protoflux_example_Concatenate_Chars.webp|example of using Concatenate Chars in some ProtoFlux code.
</gallery>
</gallery>


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

Revision as of 17:53, 20 February 2024

+
A
*
B
Characters

Concatenate Chars is a ProtoFlux node that can combine two characters into a new string.

This is very useful when working with individual characters and need to perform string operations on them, saving a node if one needs to concatenate two as well.

Inputs

A (Char)

The first character to combine.

B (Char)

The second character to combine.

Outputs

* (String)

A (Char) and B (Char) combined into a string.

Examples