Brian Dunning's FileMaker Custom Functions

Unicode ( text )

Returns the unicode code of each character of the text.

  Average rating: 4.2 (32 votes) Log in to vote

Daniele Raybaudi   Daniele Raybaudi
ACI
http://www.aci.it

Share on Facebook Share on Twitter

  Sample input:
Unicode ( "the code" )
  Sample output:
00740068006500200063006F00640065

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Returns the unicode code of each character of the text.

 

Comments

Daniele Raybaudi   Daniele Raybaudi, ACI
May 22, 2014
Cloning the most talented author ( Michael ):

Let ([
alpha = "0123456789ABCDEF" ;
bit = Mod ( number ; 16 ) ;
pos = bit + 1 ;
char = Middle ( alpha ; pos ; 1 ) ;
next = Div ( number ; 16 )
] ;
If ( next ; Unicode ( next ) ) & char
)
 
unix   unix, Japan
May 25, 2014
convert 1 char to unicode
Let ( s = GetAsCSS ( TextColor ( 0 ; Code ( char ) ) ) ;
Middle ( s ; Position ( s ; ";" ; 1 ; 1 ) - 4 ; 4 )
)
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Under construction. Email me your wish list for improvements.