laptop and a wrench

Bug

Calculating a field using the Strip function in Python strips more hyperlink text than requested for some records in ArcGIS Pro.

Last Published: November 12, 2021 ArcGIS Pro
Bug ID Number BUG-000143208
SubmittedSeptember 26, 2021
Last ModifiedMarch 20, 2025
Applies toArcGIS Pro
Version found2.8.2
Operating SystemWindows OS
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

The way the .strip() function is used in the Python expression does not give the desired result. Use this Python expression: ```py!HyperLink![24:] if !HyperLink!.startswith('\\\\san-ch-gis\\Maps\\Plans\\') else !HyperLink!``` to get the desired result.

Steps to Reproduce

Bug ID: BUG-000143208

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options