ProtoFlux:Is Separator: Difference between revisions

From Resonite Wiki
Created a page for the Is Separator node.
 
style, formatting, doc clarification
 
(2 intermediate revisions by 2 users not shown)
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 '''Is Separator''' node takes in a character literal and returns if that character is a separator character.


== Inputs ==
== Inputs ==


=== Character ([[Type:char|char]]) ===  
=== Character ([[Type:char|char]]) ===
 
The character literal to check.
The character literal to check.


Line 23: Line 22:


=== * ([[Type:bool|bool]]) ===
=== * ([[Type:bool|bool]]) ===
 
Returns <code>true</code> if <code>Character</code> is a separator, <code>false</code> otherwise. Separator characters recognized by this node are given the Unicode delegation [https://www.compart.com/en/unicode/category/Zl <code>Zl</code>], [https://www.compart.com/en/unicode/category/Zp <code>Zp</code>], or [https://www.compart.com/en/unicode/category/Zs <code>Zs</code>].
Returns if this is a separator.


== See Also ==
== See Also ==
 
* [https://learn.microsoft.com/en-us/dotnet/api/system.char.isseparator#system-char-isseparator(system-char) Microsoft Documentation about the <code>Char.IsSeparator(Char)</code> method].
Microsoft Documentation about the Char.IsSeparator method. [https://learn.microsoft.com/en-us/dotnet/api/system.char.isseparator?view=net-8.0]


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

Latest revision as of 17:07, 4 June 2024

Is Separator
Character
*
Characters

The Is Separator node takes in a character literal and returns if that character is a separator character.

Inputs

Character (char)

The character literal to check.

Outputs

* (bool)

Returns true if Character is a separator, false otherwise. Separator characters recognized by this node are given the Unicode delegation Zl, Zp, or Zs.

See Also