using webView to open a page using a variable

does anybody know how to open a url using the webView containing a variable (i.e. a google search with the variable the search terms)

i’m looking for the syntax i know everything else i think.

thanks!!!