Calculate Field with Python

783
3
Jump to solution
03-12-2021 05:52 PM
KalSsin
New Contributor III

Hi~~~

!Name!.split('(')[0]

Name = Name.split('(')[0]

What should I do?
Thank you in advance.

111.JPGpq_e.JPG

0 Kudos
1 Solution

Accepted Solutions
DanPatterson
MVP Esteemed Contributor

if you clear everything,

then click until the field name appears in the expression line you should see

!Name!.split('(')[0]

... sort of retired...

View solution in original post

3 Replies
DanPatterson
MVP Esteemed Contributor

if you clear everything,

then click until the field name appears in the expression line you should see

!Name!.split('(')[0]

... sort of retired...
KalSsin
New Contributor III

Thank you so~~~~much

0 Kudos
DanPatterson
MVP Esteemed Contributor

@KalSsin if it worked you could "Accept as Solution" the correct answer so people know there was a solution and the question is now closed.  Thanks


... sort of retired...
0 Kudos