ProtoFlux:ToLower: Difference between revisions

From Resonite Wiki
oops
m lower case -> lowercase
 
(4 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 '''To Lower''' node takes in a character literal and transforms said character into the lower case 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 lowercase. This node takes into account the local user's [[Type:CultureInfo|CultureInfo]].


== Inputs ==
== Inputs ==


=== * ([[Type:char|char]]) ===
=== * (Generic) ===
The character to make lower case.
 
The character or string to make lowercase.


== Outputs ==
== Outputs ==


=== * ([[Type:char|char]]) ===
=== * (Generic) ===
The lower case version of the given character. Characters that do not have a lowercase version mapped will not be changed.
 
The lowercase version of the given character or string. Characters that do not have a lowercase 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 ==
* [https://learn.microsoft.com/en-us/dotnet/api/system.string.tolower#system-string-tolower Microsoft Documentation for the <code>String.ToLower() method</code>, which is used internally.]
 
* [[ProtoFlux:ToUpper]] to turn strings or characters uppercase.
* [https://learn.microsoft.com/en-us/dotnet/api/system.string.tolower#system-string-tolower Microsoft documentation for the <code>String.ToLower() method</code>, which is used internally.]


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

Latest revision as of 04:38, 25 August 2025

To Lower
*
*
Characters

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

Inputs

* (Generic)

The character or string to make lowercase.

Outputs

* (Generic)

The lowercase version of the given character or string. Characters that do not have a lowercase 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