[29] Results

Golang : Extract unicode string from another unicode string example

golang string extract-unicode-characters


You have a string with unicode (UTF-8) characters and you want to extract part of the string by using….... read more

Golang : Get escape characters \u form from unicode characters

golang escape-characters unicode utf8

Problem :

You want to get the escape characters (\u form) from unicode characters(utf-8). How to do that?

Solution :

.... read more

Golang : Get first few and last few characters from string

golang string last-characters first-characters


You need to find the last few or first few characters from a string. How to do that?


.... read more

Golang : Simple Jawi(Yawi) to Rumi(Latin/Romanize) converter

jawi unicode rumi map translate

A simple example on how to use Golang's map to build a Jawi(Malays in Arabic script) to Rumi translation dictionary.….... read more

Golang : How to count the number of repeated characters in a string?

golang count repeat characters string

Problem :

You want to develop a new algorithm that somehow will reduce or compress the size of a string….... read more

Golang : Search and extract certain XML data example

golang xml newdecoder extract-attribute chardata

There are times when you want to just search for certain element in huge XML data set and extract the….... read more

Python : Print unicode escape characters and string

python unicode utf8-string

Couple of examples on how to print unicode string in Python. Nothing fancy, but it helps to explore the ways….... read more

Golang : Extract part of string with regular expression

golang regular-expression regexp extract-string

Below is a simple example of how to extract a specific part of a string with the help of regular….... read more