Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
Dan Gorman edited this page Nov 29, 2018 · 3 revisions

The CODE Function

Function Group: Text

CODE returns the numeric Unicode map value of the first character in the argument.

Syntax

CODE(arg1)

  • arg1 is a string

Uses

Can be used to find the numerical Unicode value of a given string, i.e:

CODE("d")

returns 100

Notes

Almost the opposite of CHAR, which takes an argument of a numerical Unicode value and returns a string.

Clone this wiki locally