ProtoFlux:Is Separator: Difference between revisions

From Resonite Wiki
Created a page for the Is Separator node.
 
Mention unicode categories more clearly
Line 12: Line 12:
|}}
|}}


The <code>Is Separator</code> node takes in a character literal and returns if that character is a separator. Separator characters are specially defined characters in the Microsoft documentation as <code>Space Separator</code>, <code>Line Separator</code>, and <code>Paragraph Separator</code>.
The <code>Is Separator</code> node takes in a character literal and returns if that character is a "separator" character, meaning it is in the following [[Unicode]] categories:
 
* '''Line Separator'''. Note that this category does not include traditional "new line" characters such as [[ProtoFlux:New Line]].
* '''Paragraph Separator'''. Note that this category does not include traditional "new line" characters such as [[ProtoFlux:New Line]].
* '''Space Separator'''


== Inputs ==
== Inputs ==
Line 28: Line 32:
== See Also ==
== See Also ==


Microsoft Documentation about the Char.IsSeparator method. [https://learn.microsoft.com/en-us/dotnet/api/system.char.isseparator?view=net-8.0]
Microsoft Documentation about the <code>Char.IsSeparator</code> method, which Resonite uses. [https://learn.microsoft.com/en-us/dotnet/api/system.char.isseparator?view=net-8.0]


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

Revision as of 17:20, 17 April 2024

Is Separator
Character
*
Characters

The Is Separator node takes in a character literal and returns if that character is a "separator" character, meaning it is in the following Unicode categories:

  • Line Separator. Note that this category does not include traditional "new line" characters such as ProtoFlux:New Line.
  • Paragraph Separator. Note that this category does not include traditional "new line" characters such as ProtoFlux:New Line.
  • Space Separator

Inputs

Character (char)

The character literal to check.

Outputs

* (bool)

Returns if this is a separator.

See Also

Microsoft Documentation about the Char.IsSeparator method, which Resonite uses. [1]