Apr 14, 2008 #1 drimades IS-IT--Management Nov 8, 2004 221 MK How can I transform a string of the form "firstword secondword thirdword" into 3 strings "firstword", "secondword", "thirdword
How can I transform a string of the form "firstword secondword thirdword" into 3 strings "firstword", "secondword", "thirdword
Apr 14, 2008 #2 PHV MIS Nov 8, 2002 53,708 FR Have a look at the Split function. Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
Apr 14, 2008 Thread starter #3 drimades IS-IT--Management Nov 8, 2004 221 MK sure. thanks! Upvote 0 Downvote
Apr 14, 2008 Thread starter #4 drimades IS-IT--Management Nov 8, 2004 221 MK It's ok now. It fills the array, but apriori I don't know how many elements it has?! Upvote 0 Downvote
Apr 14, 2008 #5 missinglinq Programmer Feb 9, 2002 1,914 US Code: WordCount = Len([YourString]) - Len(Replace([YourString], ",", ""))+ 1 The Missinglinq Richmond, Virginia There's ALWAYS more than one way to skin a cat! Upvote 0 Downvote
Code: WordCount = Len([YourString]) - Len(Replace([YourString], ",", ""))+ 1 The Missinglinq Richmond, Virginia There's ALWAYS more than one way to skin a cat!
Apr 14, 2008 #6 PHV MIS Nov 8, 2002 53,708 FR After the Split function you may use the UBound function. Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
After the Split function you may use the UBound function. Hope This Helps, PH. FAQ219-2884 FAQ181-2886