Get String

Return a string in a base string at index with count.

Installation

To use this node enable omni.graph.nodes in the Extension Manager.

Inputs

Name

Type

Descripton

Default

Count (inputs:count)

int

The number of characters to return. When set to -1, the length of “string” will be used.

-1

Index (inputs:index)

int

The index of the string in the range [-stringLength, stringLength). Negative values index from the end of the string, and values out of range will result in an error.

0

String (inputs:string)

['string', 'token']

The base string.

None

Outputs

Name

Type

Descripton

Default

String (outputs:string)

['string', 'token']

The extracted string.

None

Metadata

Name

Value

Unique ID

omni.graph.nodes.GetString

Version

1

Extension

omni.graph.nodes

Has State?

False

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

Get String

Categories

function

Generated Class Name

OgnGetStringDatabase

Python Module

omni.graph.nodes