ProtoFlux:ToUpper: Difference between revisions

From Resonite Wiki
m YoshBot moved page ProtoFlux:To Upper (Character) to ProtoFlux:ToUpper(Character): Automated: removing spaces from ProtoFlux namespace
m fix
 
(3 intermediate revisions by the same user not shown)
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 '''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 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 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].
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]]

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