ProtoFlux:ToUpper: Difference between revisions

From Resonite Wiki
m Yosh moved page ProtoFlux:ToUpper(Character) to ProtoFlux:ToUpper: coalesce char/string
coalesce
Line 4: Line 4:
|Inputs=
|Inputs=
[
[
{"Name":"Character", "Type":"char"}
{"Name":"*", "Type":"Dummy"}
]
]
|Outputs=
|Outputs=
[
[
{"Name":"*", "Type":"char"}
{"Name":"*", "Type":"Dummy"}
]
]
|}}
|}}


The '''To Upper''' node takes in a character literal and transforms said character into the uppercase variant of it. This node takes into account the local user's [[Type:CultureInfo|CultureInfo]].
The '''ToLower''' 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 to make uppercase.
 
The character or string to make uppercase.


== Outputs ==
== Outputs ==


=== * ([[Type:char|char]]) ===
=== * (Generic) ===
 
The uppercase variant of the given character. Characters that do not have an uppercase version mapped will not be changed.
The uppercase variant of the given character. 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].
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 ==
== 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.]
* [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]]

Revision as of 04:39, 25 August 2025

To Upper
*
*
Characters

The ToLower 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. 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