Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.3K+ articles
DSA
22.5K+ articles
Python
20.5K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
11.6K+ articles
Go Language
788+ articles
Golang
169+ articles
Golang-Program
62+ articles
Golang-Slices
54+ articles
Golang-String
64 posts
Recent Articles
Popular Articles
Creating a Command Line calculator in Golang - Step by Step tutorial
Last Updated: 19 September 2024
In this tutorial we are going to create a basic command line application in Golang, we will highlight some core principles including Go Modules, Go Packages, Go Functions,...
read more
Picked
Go Language
Golang-String
How to Generate Random String/Characters in Golang?
Last Updated: 28 March 2022
We might want to generate random strings or even sets of characters to perform some operations or add certain string-related functionality into an application. We can rand...
read more
Go Language
Golang-String
Golang-Program
Geeks-Premier-League-2022
Geeks Premier League
Golang Program to Check if the String is Alphanumeric
Last Updated: 04 April 2022
In this article, we will see how to validate an alphanumeric string in Golang. We will simply input a string from the user and check if the string is alphanumeric or not. ...
read more
Go Language
Golang-String
Golang-Program
Geeks-Premier-League-2022
Geeks Premier League
string package in Golang
Last Updated: 15 November 2022
Go language provides a string package that holds different types of functions to manipulate UTF-8 encoded strings. To access the function of the string package you need to...
read more
Go Language
Golang-String
strings.ContainsAny() Function in Golang with Examples
Last Updated: 08 June 2020
ContainsAny function is used to check whether any Unicode code points in chars are present in the string. It is an inbuilt function used to find if a specified string exis...
read more
Picked
Go Language
Golang-String
strings.IndexFunc() Function in Golang With Examples
Last Updated: 17 May 2020
strings.IndexFunc() Function in Golang is used to returns the index into s of the first Unicode code point satisfying f(c), or -1 if none do.Syntax:func IndexFunc(str stri...
read more
Picked
Go Language
Golang-String
strings.ToValidUTF8() Function in Golang With Examples
Last Updated: 17 May 2020
strings.ToValidUTF8() Function in Golang is used to returns a copy of the string s with each run of invalid UTF-8 byte sequences replaced by the replacement string, which ...
read more
Picked
Go Language
Golang-String
strings.IndexRune() Function in Golang With Examples
Last Updated: 17 May 2020
strings.IndexRune() Function in Golang is used to find the first index of the specified rune in the given string. It is defined under the string package so, you have to im...
read more
Picked
Go Language
Golang-String
How to use Array Reverse Sort Functions for Integer and Strings in Golang?
Last Updated: 17 May 2020
Go language provides inbuilt support implementation of basic constants and run-time reflection to operate sort package. Golang is the ability for functions to run independ...
read more
Picked
Go Language
Golang-String
Golang-Program
strings.EqualFold() Function in Golang With Examples
Last Updated: 25 April 2025
strings.EqualFold() Function in Golang reports whether s and t, interpreted as UTF-8 strings, are equal under Unicode case-folding, which is a more general form of case-in...
read more
Picked
Go Language
Golang-String
strings.LastIndexByte() Function in Golang With Examples
Last Updated: 25 April 2025
strings.LastIndexByte() Function in Golang returns the index of the last instance of the given byte in the original string. If the given byte is not available in the origi...
read more
Picked
Go Language
Golang-String
strings.LastIndexFunc() Function in Golang With Examples
Last Updated: 10 May 2020
strings.LastIndexFunc() Function in Golang returns the index of string s of the last Unicode code point, which satisfies func(c), or it returns -1 if no matches found. Syn...
read more
Picked
Go Language
Golang-String
strings.Join() Function in Golang With Examples
Last Updated: 10 May 2020
strings.Join() Function in Golang concatenates all the elements present in the slice of string into a single string. This function is available in the string package.Synta...
read more
Picked
Go Language
Golang-String
strings.Contains Function in Golang with Examples
Last Updated: 25 April 2025
strings.Contains Function in Golang is used to check the given letters present in the given string or not. If the letter is present in the given string, then it will retur...
read more
Picked
Go Language
Golang-String
Converting a string variable into Boolean, Integer or Float type in Golang
Last Updated: 10 May 2020
Various types of string conversions are needed while performing tasks in Golang. Package strconv is imported to perform conversions to and from string.String to Boolean Co...
read more
Picked
Go Language
Golang-String
Golang-Program
1
2
3
4
5
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !