Hi. I want to ask for help in creating a certain variable.

The data looks like this. It contains letters of min 7-digit to max 12-digit numbers.
8244012
2232011
9224091
8244012
12140524
8314062
8314062
1214012
711405234
1214012
From this, I want to generate a variable that shows the first three numbers.
For example, 8244012 -> 824. 12140524 -> 121.
Is there a way that allows me to generate this?