Create two text fields. Right justify the first. Left justify the second. Make the second a child of the first. Offset them to create the space between (assuming they are different words.) and use the attached visual logic, tweaking the value to finish your space.
If you are managing the input, and you simply want to change font style within a single, center justified text field, you could use a font tag {font ID} to change text to the right of the tag.

#XPression