Carriage Return Text Search in Python STK
A particular Short Text attribute in a table has been filled with texts ending with carriage returns, but not on all records. In an effort to tidy up the data, the admin is developing a script whose intent is to search for records where the attribute value contains a carriage return.
Is it possible in the STK to use the "search_for_records_where" function calling a text search criteria with an ASCII code for carriage returns or special characters ? Basically, something like this :
base_contains_iron = base_attribute.search_criterion(contains='Fe (Iron) \r\n')
iron_records = material_universe.search_for_records_where([base_contains_iron])
Thanks in advance !