Your memory is accurate. In Pan 6 it produces “1500” but in Panorama X a null as you have indicated. If you grab the text from the reverse direction using a double dash it works in Panorama X:
X=X[“–”,-1][2,-1]
Or you could treat it as an array and use:
X=arraylast(X,“-”)
Evidently Panorama X is not treating the quoted single dash as a character but as a minus indicator.
Looks like this is a bug, I’ve added it to the list.
Using a text funnel this way is a technique from Panorama 2, it should still work (and it will be fixed) but there are definitely better ways to do this in newer versions of Panorama, including the array( and after( functions. (And when I say “newer”, these functions are actually 20-25 years old.) I would recommend switching to one of these methods.