Answers for "substring in golang like python"

Go
1

substring in golang like python

runes := []rune(value)
fmt.Println("First 1:", string(runes[0:1]))
Posted by: Guest on March-30-2021

Browse Popular Code Answers by Language