# Removing a digit in specific position

Hello
I’m using a prefix string and a prefix number separated by ‘-’. I’d like to remove this specific character
For example:
system-111-987 => I want to call the 111987

With the cut digit `\${EXTEN:7}` I’m calling 111-987. I need somethig to cut first 7 digits AND the 11th digit
Can someone help me?

Use the FILTER function. Don’t worry about the exact position.

With the cut digit `\${EXTEN:7}` I’m calling 111-987. I need somethig to cut first 7 digits AND the 11th digit
Can someone help me?

Here is what you need:
{EXTEN:0:7}
{EXTEN:0:7}

My typing mistake, here is what you need:
{EXTEN:0:7}
{EXTEN:0:11}

For your original requirement, although I still think you should use FILTER, I believe you need, `\${EXTEN:0:3}\${EXTEN:4:3}`

This is fairly basic stuff and you should be able to validate the above without actually trying it.

Thank you all. All yours suggestions help me a lot.
With a system exten ‘system-111-987’, I solved in this way:
\${EXTEN:7:3} → This take 111
\${EXTEN:12} → This take 987

In the end the concatenation:
\${EXTEN:7:3}\${EXTEN:12} → 111987

`\${FILTER(0-9,\${EXTEN})}`

Should do the same, and will not break in case someone decide to replace `system` with `world`, or change `-` to `_`, or if you change the length of the numbers.