Difference between revisions of "Is Separator (LogiX node)"
Jump to navigation
Jump to search
(Created page with "<languages></languages> <translate> <!--T:1--> {{Infobox Logix Node | Name = Is Separator | Image = noframe | 128px | 'Is Separator' LogiX node ...") |
(Marked this version for translation) |
||
Line 15: | Line 15: | ||
This node takes a character input and outputs a boolean. | This node takes a character input and outputs a boolean. | ||
+ | <!--T:6--> | ||
If the character has the Unicode delegation [https://www.fileformat.info/info/unicode/category/Zs/list.htm <code>Zs</code>], [https://www.fileformat.info/info/unicode/category/Zp/list.htm <code>Zp</code>], or [https://www.fileformat.info/info/unicode/category/Zl/list.htm <code>Zl</code>], this node will output <code>true</code>. Otherwise, it will output <code>false</code>. | If the character has the Unicode delegation [https://www.fileformat.info/info/unicode/category/Zs/list.htm <code>Zs</code>], [https://www.fileformat.info/info/unicode/category/Zp/list.htm <code>Zp</code>], or [https://www.fileformat.info/info/unicode/category/Zl/list.htm <code>Zl</code>], this node will output <code>true</code>. Otherwise, it will output <code>false</code>. | ||
Line 20: | Line 21: | ||
In the following image, <code>\n</code> is a line feed character and not considered a separator, so it outputs <code>false</code>. The space character is a separator and outputs <code>true</code>, while "G" is not a separator and outputs <code>false</code> | In the following image, <code>\n</code> is a line feed character and not considered a separator, so it outputs <code>false</code>. The space character is a separator and outputs <code>true</code>, while "G" is not a separator and outputs <code>false</code> | ||
+ | <!--T:7--> | ||
[[File:Logix Example IsSeparator.png|400px]] | [[File:Logix Example IsSeparator.png|400px]] | ||
Revision as of 17:28, 11 September 2022
Is Separator | ||
---|---|---|
Inputs | ||
Char | Character | |
Outputs | ||
Bool | * |
The Is Separator node takes a character and outputs true
or false
depending on if the character is a separator or not.
Usage
This node takes a character input and outputs a boolean.
If the character has the Unicode delegation Zs
, Zp
, or Zl
, this node will output true
. Otherwise, it will output false
.
Examples
In the following image, \n
is a line feed character and not considered a separator, so it outputs false
. The space character is a separator and outputs true
, while "G" is not a separator and outputs false