How to use a string as an int and in a for loop.

The error is on line 36:

#pragma strict

var myString : String = "5";
var myInt : int = parseInt(myString);
var SpawnSpot : Transform;
var spawnMonster;
var choosingIsActive : boolean = true;
var Monster : Transform;
 public var spawnPoints: Transform[];
 public var playerPrefab : GameObject;
 var standByCamera : GameObject;
 var playerCamera : GameObject;

function Start () {

}

function Update () {
	
}

public function OnGUI()
  {
  	if(choosingIsActive)
  	{
       myString = GUI.TextField(Rect(Screen.width/2.1, Screen.height/2.8, 106, 20), myString, 2);
       myString = Regex.Replace(myString, "[^0-9]", "");
       
	       if(GUI.Button(Rect(Screen.width/2.1, Screen.height/2.1, 106, 50), "Play!"))
	       {
	       		choosingIsActive = false;
	       		standByCamera.SetActive(false);
	       		playerCamera.SetActive(true);
	       		   var indx: int = Random.Range(0,spawnPoints.Length-1);
     				var spawnPosition: Vector3 = spawnPoints[indx].position;
     				for (var i : int = 0; i > myString; i++) {
					 var instance: GameObject = Instantiate(playerPrefab, new Vector3(1,2,3), Quaternion.Euler(0,30,0)) as GameObject;
					}
	        }
       }
  }

The error is here:

Assets/Scripts/Temples Choosing Menu.js(36,57): BCE0051: Operator ‘>’ cannot be used with a left hand side of type ‘int’ and a right hand side of type ‘String’.

Any help? Thanks in advance!

int.TryParse()