[25] Results

Golang : ROT32768 (rotate by 0x80) UTF-8 strings example

golang rot32768 caesar-cipher utf8 rune-character-substitution

Previously we learned how to implement ROT13, ROT5 and ROT47 character substitution algorithms in Golang. However, these implementations….... read more


Golang : ROT47 (Caesar cipher by 47 characters) example

golang rot47 caesar-cipher ASCII character-substitution

Here is an example of how to implement the ROT47 - Rotate 47 characters algorithm in Golang. ROT47 is a….... read more


Golang : Convert spaces to tabs and back to spaces example

golang tab space convert unicode character-substitution

A simple example on how to convert spaces to tabs and convert back the tabs to spaces again in a….... read more


Golang : How to convert character to ASCII and back

golang character rune string ASCII

Problem:

ASCII or American Standard Code for Information Interchange is used to represent characters and device control in computers. How….... read more


Golang : Rot13 and Rot5 algorithms example

golang rot13 rot5 unicode caesar-cipher ASCII...

Continuing from our previous ROT47 tutorial, we will now learn how to implement the ROT13 + ROT5 algorithms. ROT13….... read more


Golang : Warp text string by number of characters or runes example

golang line-break character-wrap rune-slice slice-character

Problem:

You have a long text string and you want to wrap the text according to a given number of….... read more


Golang : How to verify input is rune?

golang rune valid-rune utf8

Problem :

You need to determine if the user input is a valid rune. How to do that?

Solution :

.... read more


Golang : Check if one string(rune) is permutation of another string(rune)

golang permutation rune sort

Problem:

You need to check if a given input string or rune is actually a permutation of another string(rune). For….... read more


Advertisement