[12] Results

Golang : Scramble and unscramble text message by randomly replacing words

golang rotrandom word-substitution roll-dice map

For this tutorial, we will learn how to make a text string unreadable by replacing some of the words inside….... read more

Golang : Reverse by word

golang reverse by-word

This tutorial will show you how to reverse the order of words in a string. Reversing the words or elements….... read more

Golang : How to check if input string is a word?

golang check-word regexp-syntax

Problem :

I'm writing a parser and I need to determine if the user input is a word or something….... 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 : Simple word wrap or line breaking example

golang line-break word-wrap slice-string


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

Golang : Convert word to its plural form example

golang pluralize singular-word item-in-slice

Here is a program that will convert a singular word into its plural form and at the same time, perform….... 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