Reputation: 24572
I have this code:
vm.Points = phrase.Points.ToString();
I would like to replace it with something that would put an X character as many times as there are phrase.Points where phrase.Points is an integer.
So if phrase.Points has a value of 5 then I would like the value of vm.Points to be "XXXXX"
Upvotes: 1
Views: 75