Difference between revisions of "Contains (LogiX node)"

From Neos Wiki
Jump to navigation Jump to search
m (Zyzyl moved page Logix Node Contains to Contains (LogiX node): Changing name to match standard form)
(Update to new node page style)
 
Line 1: Line 1:
'''Contains''' is a logix node that will return a ''bool'' if the target string contains one or more of the searched string.
+
<languages></languages>
 +
<translate>
 +
<!--T:1-->
 +
{{Infobox Logix Node
 +
| Name = Contains
 +
| Image =[[File: ContainsNode.png | noframe | 128px | 'Contains' LogiX node ]]
 +
| Input0Type = String | Input0Name = Str
 +
| Input1Type = String | Input1Name = Substring
 +
| Output0Type = Bool | Output0Name = *
 +
}}
  
 +
<!--T:2-->
 +
The '''Contains''' node outputs true if the input <code>Str</code> contains at least one exactly matching instance of the input <code>Substring</code>, otherwise false.
 +
 +
== Usage == <!--T:3-->
 +
The output will be false if either (or both) of the inputs are empty strings or ''null''.
 +
 +
== Examples == <!--T:4-->
 
[[File:ContainsExample.jpg]]
 
[[File:ContainsExample.jpg]]
 +
 +
== Node Menu == <!--T:5-->
 +
</translate>
 +
[[Category:LogiX{{#translation:}}|Contains]]
 +
[[Category:LogiX:String{{#translation:}}|Contains]]
 +
{{:NodeMenu-String{{#translation:}}}}

Latest revision as of 20:06, 10 May 2021

Contains
'Contains' LogiX node
Inputs
  String Str
  String Substring
Outputs
  Bool *

The Contains node outputs true if the input Str contains at least one exactly matching instance of the input Substring, otherwise false.

Usage

The output will be false if either (or both) of the inputs are empty strings or null.

Examples

ContainsExample.jpg

Node Menu

String
Back Characters Quick Format Special Characters + × Capitalize
Contains Ends With Format Get Type Index Of String Is String Empty New Line
Replace First Substring Replace Substring Reverse String Starts With String Insert String Join String Length
String Remove Substring To Lower To String To Upper Trim String