Text To URL

How would i use the input field to search a URL

Example entered Facebook.com

{
Application.OpenURL(“Facebook.com”);
}

You could try taking the address by textfield and use a button to open the page. Try:

string address="";
void OnGUI(){
      adress = GUI.TextField (new Rect(0,0,200,50) address);

     if (GUI.Button(new Rect(0,60, 100, 50), "Open Page")){
          Application.OpenURL(address);
    }
}