Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 17.0 (home page)Version 16.0 (home page, current version)Version 15.0 (home page)Version 14.0 (home page)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 9.0 (home page)Version 8.0 (home page)Version 7.0Version 6.0 (home page)Version 5.0 (home page)Version 4.0 (home page)

Index

On this page

Strings

A string is a sequence of characters. Strings can be made up of multiple concatenated substrings. There is no general limit on the length of a string, although Keyman does impose limits on strings in various situations.

The following string formats are available:

Type Description Example
Quoted strings a list of characters, enclosed either by " or ' quote characters. Can only use characters in the range decimal 32 - 255. To use quotes in the string, enclose with the other quote type.
store (vowels) "aeiou"
+ '"' > 'quote'
Decimal character codes a single character, in decimal format. Range d32 - d1114111.
+ d32 > 'space'
Hexadecimal character codes a single character in hexadecimal format. Range x20 - x10FFFF.
+ x20 > 'space'
Octal character codes a single character in octal format. Not recommended - only included for historical reasons. Range 40 - 4177777.
+ 40 > 'space'
Unicode character codes a single character in U+xxxxxx format. Recommended for Unicode. Range U+0020 - U+10FFFF.
+ U+0020 > 'space'

Strings are concatenated by listing them together, separated by spaces. For example, the following two lines are equivalent:

U+0041 U+0042 d67 d68 "abc" 

"ABCDabc"