Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using a regular expression pattern we can define a special sequence of characters (like : shortname:) to search and replace with the equivalent emoji stored in the LIVECHATSDK.LIVECHAT.emojiShortNames Emoji_by_ShortName hash.

The following code search for any shortname that matches the last typed word with preceding and following “:” character. Example :grinning_face: (big grin)

...