Hello, I am fairly new to Python and just started working with ArcPro. I have a solution for my problem working in an excel formula but would like to know how to get this to work in Code Block of Pro.
I have 2 fields; Location and Section. My excel formula is this:
=IF((LEFT(A2,3)="RMS"),"",REPLACE(A2,1,1,B2))
A2 is location and B2 is Section. So if the 1st 3 characters of the location = RMS then nothing else replace the first character with Section
The data looks like this
| Location | Section | Formula |
| B - 18 - F - 1 - N.5 | A | A - 18 - F - 1 - N.5 |
| RMS - 18 - F - 1 - N.6 | RMS | |
I have been searching all over but just can't seem to figure it out.
Thank you.