FunctionsstripHexcodestripHexcode CallablestripHexcode(hexcode: string): HexcodeThis function will strip zero width joiners (200D) and variation selectors (FE0E, FE0F) from a hexadecimal codepoint. import { stripHexcode } from 'emojibase';stripHexcode('1F468-200D-2695-FE0F'); // 1F468-2695
This function will strip zero width joiners (
200D
) and variation selectors (FE0E
,FE0F
) from a hexadecimal codepoint.