apoc.text.charAt

Function

apoc.text.charAt(text STRING, index INTEGER) - returns the INTEGER value of the character at the given index.

Signature

apoc.text.charAt(text :: STRING, index :: INTEGER) :: INTEGER

Input parameters

Name Type Default

text

STRING

null

index

INTEGER

null

Usage Examples

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

106