I don’t believe you can affect the point size of part of a singe source text with expressions, but I’ve done something similar with two text layers and a sourceRectAtTime() expression to make the second text layer follow the first.
Try this:
Create two text layers and type Hello into one and World into the other, then parent World to Hello (this isn’t totally necessary, but it makes the expression a bit simpler and you probably want them to stay together anyway).
Add this expression to the World layer’s position property:
rect = parent.sourceRectAtTime() ;
w = rect.width ;
value + [ w, 0 ]
The World layer should now follow Hello and you can change the point sizes of the layers independently, but both layers are right next to each other.
Assuming you want a space between them, you can add that in the expression by adding the amount of pixels you need between them, something like this:
rect = parent.sourceRectAtTime() ;
w = rect.width ;
pad = 30 ;
value + [ w + pad, 0 ]