Hello,
After a long search I found out that the answer is ZFILL in Python. Open the Field Calculator and choose parser: Python (and not VB Script)
Example 1
TERRID: OSK01
SZONE: A1
BPNR: 1
RESULT: OSK01A1001
Example 2
TERRID: OSK01
SZONE: X
BPNR: 1
RESULT: OSK01X0001
Calculation (Python)
!TERRID! + (!SZONE! .ljust( 2, '0' )) + (str(!BPNR!).zfill(3))
Can ESRI please give us a list of functions simular to FORMAT, that don't exist anymore in ArcGIS10, with the according function in Python?
Greetings :cool:,
Bart from Belgium