Hello everybody!

I have a string variable labelled "X", which contains a series of numerical codes (e.g., 243 563453 21, 354 44 6, 23435 67, etc.).
I would need to remove all the spaces from each of these values.

Now, I have tried the standard subinstr function:

replace X = subinstr(X, " ", "", .)

but apparently this works only in case of letters, not with numerical characters. Could you please help me? I can't find the correct code.

Many thanks!

Kodi