apoc.text.hexCharAt

Function

apoc.text.hexCharAt(text String, index Integer) - returns the hexadecimal value of the given string at the given index.

Signature

apoc.text.hexCharAt(text :: STRING?, index :: INTEGER?) :: (STRING?)

Input parameters

Name Type Default

text

STRING?

null

index

INTEGER?

null

Usage Examples

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

"006A"