$str = wc temp -l; $unused = int::substr($str, 0, 1); #returns the first character as an int