evidenttutorials.com
Home CodeIgniter Django Go HTML JavaScript jQuery PHP Python Server SQL
Page 1 of 2. Next Last
August 31, 2025

Capitalize first character of each word in a string in Go

You can convert first character in upper case of each word in a string with using custom written function in Go lang. Function required a string type parameter and also return a string with first character in upper case of each word.

Read more... 
August 30, 2025

Capitalize first character of a string in Go

Go doesn’t have a built-in function to convert first character in small case. But you can convert first character in upper case of a string into upper case with using code mentioned in example.

Read more... 
August 30, 2025

Go lang, get sub string

If you want to get sub string from a string so you can easily do this by getting slice of bytes in Go lang. In Go lang, there is no built-in Substring function like in Java (str.substring) or any other language. Instead, Go relies on slice technique.

Read more... 
August 24, 2025

Go String Compare

Comparison of two strings in Go language is very easy task. Like integer values you can also compare string objects with the help of equal to operator (==) inside of if conditional statement.

Read more... 
August 24, 2025

Go String Concatenation

In Go language you can do string concatenation through + operator. + operator is a concatenation operator for string values and it also an addition operator for numeric values.

Read more... 
August 24, 2025

Go split function

split() function is one of the most important Go language built in function of string manipulation. Sometimes it happens that you want to convert a string's element into an array so for the same you can use split() function in Go language.

Read more... 
August 24, 2025

Change string in upper case with ToUpper function

You can convert a string into upper case (all letters in capital letters) with using of ToUpper function of string package. The example of ToUpper method is mentioned below:

Read more... 
August 03, 2025

Go Contains function for string search

You can search a character or even a string from a string through Contains function of string package in Go. Contains function required two string parameters, first is string, second sub string which needs to be searched.

Read more... 
August 03, 2025

Change string in lower case with ToLower function

You can convert a string into lower case (all letters in small letters) with using of ToLower function of string package. The example of ToLower method is mentioned below:

Read more... 
August 03, 2025

Go string replacement with replace function

You can replace a sub string from a string through replace function or string package in Go. replace function required 4 string parameter to make replacement on the string first parameter is whole string, second parameter old string which need to be replaced, third parameter is new string with you want to replace old string and fourth param the number of replacements (use -1 to replace all)

Read more... 
Page 1 of 2. Next Last

Latest Posts

You can find latest posts below:

Capitalize first character of each word in a string in JavaScript Capitalize first character of each word in a string in Go Capitalize first character of each word in a string in Python Capitalize first character of a string in JavaScript Capitalize first character of a string in Go
About Us Privacy Policy Disclaimer