IMG 1010 - Digit Translation Examples

 

The following table shows various examples of digit translation that will help you to understand how the IMG uses the following translation components to translate a digit string:

  • Digit string to be translated

  • Match string

  • Translation string

 

Digit String to be translated

Match string

Translation string

Description

Result

Digit String to be translated

Match string

Translation string

Description

Result

6032253066

6032253066

1&

Insert 1 before the number

16032253066

6032253066

603&

011603&

Replace the digits to the left of the & (603) with 011603

0116032253066

6032253066

603&

&

Remove the digits to the left of the &

2253066

6032253066

603&

508&

Replace the digits to the left of the & (603) with 508

5082253066

92253066

9&

603&

Replace the digit to the left of the & (9) with 603

6032253066

6032253066

6032253066

6035551212

Replace the digits in the match string with the digits in the translation string

6035551212

6032253066

603&

&11

Remove the digits to the left of the & (603) and append 11 to the end of the number

225306611

8005551212

800555&

&

Remove all digits to the left of the & (800555)

1212

8002221212

800XX&

&

Remove all digits to the left of the & (80022)

21212

5085551212

508XXX&

&603XXX

Remove all digits to the left of the & (508555) and then append 603 and the original digits represented by XXX (555) to the end of the number

 1212603555

15553030

 X555YYYY

YYYY555X

Move the first digit (1) to the end of the number and move the last four digits (3030) to the beginning of the number

30305551

15088623000

XYYYZZZ&

XZZZYYY&

Transpose the digits represented by YYY (508) and those represented by ZZZ (862)

18625083000

6169991#

 &#

&

 Remove the terminating character

6169991

 

 

Return to Documentation Home I Return to Sangoma Support