AnsweredAssumed Answered

update cursor using a wildcard

Question asked by jameljoseph on Mar 17, 2016
Latest reply on Mar 17, 2016 by jameljoseph

hello,

 

I am using an update cursor in my python script to go through my table records and I want to assign the same value to all the universities that start with "University of".

 

Here is an example of what I want to do:

if row[0] == "Boston College":

[code here]

elif row[0] == "University of *":

[code here]

else:

 

I thought the * was the wildcard but all my records that have "University of" as the prefix in a record do not have any values in them, whereas Boston College does.

Outcomes