Working with strings

let’s say i have a variable:

var subscribers:String = “122 million”;

but I only want “122” to show up in my textfield, subscriberNum. How would I do that?

Keep in mind that the number could be “5” or it could be “50” or “500”, so i can’t necesarrily just display the first 3 index positions, because I may only need the first position…