ProtoFlux:ToUpper: Difference between revisions

From Resonite Wiki
Created a page for the To Upper (Character) node.
 
m fix
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Name":"Character", "Type":"char"}
{"Name":"*", "Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Name":"*", "Type":"char"}
{"Name":"*", "Type":"Dummy"}
]
]
|}}
|}}


The <code>To Upper</code> node takes in a character literal and makes that character into the upper case variant of that letter. Numbers, symbols, and whitespace are unaffected by this.
The '''ToUpper''' node takes in a character or string and outputs it as uppercase. This node takes into account the local user's [[Type:CultureInfo|CultureInfo]].


== Inputs ==
== Inputs ==


=== * ([[Type:char|char]]) ===  
=== * (Generic) ===


The character literal to make upper case.
The character or string to make uppercase.


== Outputs ==
== Outputs ==


=== * ([[Type:char|char]]) ===
=== * (Generic) ===


The upper case character.
The uppercase variant of the given character or string. Characters that do not have an uppercase version mapped will not be changed.
 
The specifics of Unicode uppercase and lowercase character mapping is too involved for this wiki page, but if one is interested, see [https://www.unicode.org/Public/UCD/latest/ucd/UnicodeData.txt the official Unicode data file] as well as [https://en.wikipedia.org/wiki/Unicode_character_property#Semantic_elements the format used for the file].
 
== See also ==
 
* [[ProtoFlux:ToLower]] to turn strings or characters lowercase.
* [https://learn.microsoft.com/en-us/dotnet/api/system.string.toupper?view=net-8.0#system-string-toupper Microsoft documentation for the <code>String.ToUpper() method</code>, which is used internally.]


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

Latest revision as of 04:43, 25 August 2025

To Upper
*
*
Characters

The ToUpper node takes in a character or string and outputs it as uppercase. This node takes into account the local user's CultureInfo.

Inputs

* (Generic)

The character or string to make uppercase.

Outputs

* (Generic)

The uppercase variant of the given character or string. Characters that do not have an uppercase version mapped will not be changed.

The specifics of Unicode uppercase and lowercase character mapping is too involved for this wiki page, but if one is interested, see the official Unicode data file as well as the format used for the file.

See also