Horje
golang slice string Code Example
golang slice string
First of all, you should really read about strings, bytes and runes in Go.

And here is how you can achieve what you want: Go playground (I was not able to properly paste arabic symbols, but if Chinese works, arabic should work too).

    s := "abcdefghijklmnop" 
    fmt.Println(s[2:9]) 

    s = "something which is display"
    fmt.Println(string([]rune(s)[2:9]))




Whatever

Related
vaccine api in india Code Example vaccine api in india Code Example
the range of coefficient of correlation is Code Example the range of coefficient of correlation is Code Example
add days in mome Code Example add days in mome Code Example
Factorial of a number using recursion Code Example Factorial of a number using recursion Code Example
add custom domain to elastic beanstalk Code Example add custom domain to elastic beanstalk Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
6