[13] Results

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 : 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 : Check if element exist in map

golang check-element map

Key based element search on a map is the most frequent method use to retrieve the associated value. However, there….... read more


Golang : How to check for empty array string or string?

golang string check-empty-string string-array

Sometimes that most obvious thing can be the hardest to remember. Putting this down as a note for myself and….... read more


Android Studio : Checkbox for user to select options example

android-studio check-box select-options java

A decent operating system user interface should have check boxes to allow users to select options that are not mutually….... 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 : 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 : 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


Advertisement