ProtoFlux:Concatenate Chars: Difference between revisions

From Resonite Wiki
m →‎Examples: alt text and caption
m style & formatting
 
Line 13: Line 13:
|}}
|}}


Concatenate Chars is a ProtoFlux node that can combine two characters into a new string.
The '''Concatenate Chars''' node combines 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.
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.
Line 19: Line 19:
== Inputs ==
== Inputs ==


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


The first character to combine.
The first character to combine.


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


The second character to combine.
The second character to combine.
Line 29: Line 29:
== Outputs ==
== Outputs ==


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


A ([[Type:Char|Char]]) and B ([[Type:Char|Char]]) combined into a string.
<code>A</code> and <code>B</code> combined into a string.


== Examples ==
== Examples ==

Latest revision as of 20:01, 3 June 2024

+
A
*
B
Characters

The Concatenate Chars node combines 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 and B combined into a string.

Examples