How would I separate a generated number that always starts with two letters and then a series of digits (e.g. ab123456) into two strings, and then put them into two text boxes?

The number is generated using a JavaScript method.

in number is stored in a `<div>` like this:

```
<div id="usernumber" class="usera"></div>

```

It needs to be written into two text boxes like this:

```
Response.Write("<td width=\"50%\"><input type=\"text\" id = \"userdepartment\"  name=\"department\" size=\"3\" maxlength=\"2\"> <input type=\"text\" id = \"usernumber\" name=\"number\" size=\"10\" disp=\"Department Number\" maxlength=\"6\">\n");

```