Find String
Find the index of a substring in a base string starting at pos, or -1 if the string is not found.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Pos (inputs:pos) |
|
The starting position to search for the string. |
0 |
String (inputs:string) |
|
The base string. |
None |
Value (inputs:value) |
|
The string to search for. |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Index (outputs:index) |
|
The index of the first occurrence of string, or -1 if not found. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.FindString |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Find String |
Categories |
function |
Generated Class Name |
OgnFindStringDatabase |
Python Module |
omni.graph.nodes |