What database platform is this?
If there is only ever one comma, you can start by removing the left portion and right portion into individual strings (calculated columns) trimmed of whitespace to left and right; then one easy method is to take length of each string and subtract from it the length of the strings with all the spaces removed. This would give you the number of spaces and the number of words would be that value +1.
You will have to determine how you want '1 & 2' to calculate. If this should be one word, then replace ' & ' with '&' before doing anything.
Main Topics
Browse All Topics





by: ErootsPosted on 2009-09-28 at 13:58:48ID: 25443328
(associating email)