apoc.text.charAt

Details

Syntax

apoc.text.charAt(text, index)

Description

Returns the INTEGER value of the character at the given index.

Arguments

Name

Type

Description

text

STRING

The string from which a character is taken to be converted into an integer value.

index

INTEGER

The index of the character in the given string to convert.

Returns

INTEGER

Usage Examples

RETURN apoc.text.charAt("Neo4j", 4) AS output;
Results
output

106