ProtoFlux:ToLower: Difference between revisions

From Resonite Wiki
Created a page for To Lower (Character) node.
 
m lower case -> lowercase
 
(7 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 Lower</code> node takes in a character literal and makes that character into the lower case variant of that letter. Numbers, symbols, and whitespace are unaffected by this.
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 literal to make lower case.
The character or string to make lowercase.


== Outputs ==
== Outputs ==


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


The lower case character.
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].
 
== See also ==
 
* [[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