Post

GoLangGoLang

k
kumar san

Posted on 19th April 2024|23 views

0
votes

Golang Split String

How to split a string in Golang

Answers
P
jordan chris

Posted on 19th April 2024

In Golang, you can split a string into slices using different functions. To split a string, use the following syntax

func Split(str, sep string) []string

 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo
  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos