I have a database which contains some string fields with only whitespace in them. This is not a valid situation in my case so I wish to find these fields and replace them with a predefined string.
Is there a way using NSPredicate to get only these objects or must I iterate all objects, trimm the target field and check if length is zero?
Thanks!
You could try something like this: