It seems to me that this file structure is formatted with fixed-width fields. Simply use the string subset function to slice out what you want.
You don't need decimal-to-string, because it is already a string, right?
Could you clarify a bit more:
What do you mean by "remove"? Do you ...
(1) want to extract the value at the position of 18488 as a number.
(2) Create a new string with this part replaced by blanks?
(3) Create a new string with this part cut out ("removed")?
(4) ??
The example image shows cases (1) and (3) and the resultig output.