Read text file off online source

Here is my code so far:

public var url: String = “http://localhost/hi.txt”;
var www: WWW = new WWW(url);
Debug.Log(www);

When I run it, it doesn’t output the the text file. I know it is downloading since my server confirms the download but otherwise, I can’t seem to read it.

public var url: String = “http://(the rest of it)”;

function Start(){
   var www : WWW = new WWW(url);
   yield www;
   Debug.Log (www.text);
}

Figured it out.

Here is for anyone else who has this problem.