I'm using CR 9 with an Oracle database.
I have a string field that contains scientific names. This is an example of my current output:
Bufo americanus
Bufo americanus americanus
Bufo americanus charlesmithi
Gyrinophilus porphyriticus
Gyrinophilus porphyriticus duryi
However, I want to exclude records that have names made up of more than two words. So from the list above I only want to get:
Bufo americanus
Gryinophilus porphyriticus
In theory I should be able to do this by restricting the names that have more than one space so only names with 2 words would be included. Unfortunately, I can't quite get it to work. Could anyone set me straight? Or can you think of a more effecient way to do the same thing?
Thanks,
Shauna
I have a string field that contains scientific names. This is an example of my current output:
Bufo americanus
Bufo americanus americanus
Bufo americanus charlesmithi
Gyrinophilus porphyriticus
Gyrinophilus porphyriticus duryi
However, I want to exclude records that have names made up of more than two words. So from the list above I only want to get:
Bufo americanus
Gryinophilus porphyriticus
In theory I should be able to do this by restricting the names that have more than one space so only names with 2 words would be included. Unfortunately, I can't quite get it to work. Could anyone set me straight? Or can you think of a more effecient way to do the same thing?
Thanks,
Shauna