Hi Randall, forgive me for butting in at this late stage. Your original description of what you wanted was:
> How do I get the char count (number) of the first char of a > particular word (say "word 4") of a string? I think most people would probably interpret "character count" as "the number of characters", which of course doesn't make sense when applied to a single character ("the first character of..."). And I'm sure that's not what you meant anyway. What I _think_ you meant (correct me if I'm wrong) was: "How do I get the number of characters from the START of a string to the first character of a particular word of that string?" This can be translated into Rev's xTalk as: get (the length of word 1 to wordNumber-1 of myString) + 2 (The +2 is for the space after word wordNumber-1 plus the first character of word wordNumber.) Yes, the following would be easier to read (and slightly shorter): get the characterNumber of word n of myString ... but I'm not sure how many people would find it useful enough to warrant the extra development work on the xTalk parser. (= a business decision for RunRev) The "confusion on the list" wasn't because you were trying to describe something that doesn't exist. It was because your description was ambiguous. On Jan 1, 2008 9:27 AM, Randall Lee Reetz <[EMAIL PROTECTED]> wrote: > Wait a min bill. There was confusion on this list because i was trying to > describe something that doesnt exist... If it existed there would be a > standard, and unique way to script it (not confusing to humans or the > interpreter). > > -----Original Message----- > From: "Bill Marriott" <[EMAIL PROTECTED]> > > To: use-revolution@lists.runrev.com > [snip] > > The difficulty was understanding what you wanted in the first place. I think > you received seven different interpretations of your original request! > Imagine how a computer would struggle with this. > > [snip] _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution