[10] Results

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 : 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 : Simple word wrap or line breaking example

golang line-break word-wrap slice-string

Problem:

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


Golang : Takes a plural word and makes it singular

golang inflector countable plural singular item-in-slice

Here is a program that will convert a plural word into its singular form and at the same time it….... read more


Golang : Find the longest line of text example

golang line-break word-wrap longest-line strings-split

Ability to find the longest find in a given text file can be useful in a situation where you want….... read more


Golang : Word limiter example

golang slice-to-string word-limiter count-words

Problem:

You want to limit a string to X number of words. How to do that?

Solution:

Break the string….... read more


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


Advertisement