AnsweredAssumed Answered

Python code

Question asked by abujenine on Dec 4, 2019
Latest reply on Dec 4, 2019 by abujenine

Hi Pros;

I have this table

and need to take the numbers after hyphen in CAD_DESIGN_ROOMID field and put it before the last three letters in ROOMCODE field with another hyphen. I need the result to look like this : 

ART-S-01-00-1050-1-(OFS) 

ART-S-01-00-1050-2-(OFS) 

ART-S-01-00-1050-3-(OFS)

.

.

.

ART-S-01-00-1050-19-(OFS)  

 

any idea how I can do that in python. considering I am working in an SDE GDB and can't add more fields.

 

Thanks

Outcomes