Nothing is shown after the number. No errors, no warnings. If it should work then I will go and check my code again, just to make sure I haven't done anything stupid.
You could either put a breakpoint just after the SomeTextLabel.Text = ... line and check the content of the variables.
Or use Log(unitsIndex)
Log(strUnitsArray(unitsIndex))
to see what you get.