Declaración
func Find(target string, findValue string, startIndex int) int
go
Parámetros
Entrada
Nombre | Tipo | Descripción |
---|---|---|
Target | String | Target string |
Find Value | String | The specified string to search for |
Start Index | Int | Search for a string from the start position, the string position starts at 0 |
Regresar
Tipo | Descripción |
---|---|
Int | The first occurrence of the specified string in the target string. The string position starts at 0. |