The example below contains two variables:
source— string to search in;sub— string to search for.
package main
import (
"fmt"
"strings"
)
func main() {
var source string
var sub string
fmt.Scan(&source)
fmt.Scan(&sub)
// strings method
}
Choose the answers with the correct use of the strings functions:
The function should have the correct name, and all its arguments should be in the right place.