XPATH text() is not working

How to extract these two text between &nbsp& using array?

What do you mean?
Correct English, please.

Hi kazurayam, already done with this.
I just want to separate these 2 text
arrayi[0] = streamer
arrayi[1] = Yes Test Test

I used these code:
def a = WebUI.getText(OutrightBetOption).substring(0, WebUI.getText(OutrightBetOption).indexOf(’ '))
def b = a.length() + 3
def c = WebUI.getText(OutrightBetOption).length()
def d = WebUI.getText(OutrightBetOption).subSequence(b, c)