Razzak, You tricky devil you. Another tease for the upcoming 214 Valentines Day release.
Jan -----Original Message----- From: "A. Razzak Memon" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Thu, 15 Jan 2009 11:50:27 -0500 Subject: [RBASE-L] - Re: Looking for Some Input for Text String Manipulation At 10:54 AM 1/15/2009, Paul Buckley wrote: >I'm looking for a slick way to find a words relative >position by word count. > >If anyone has any suggestions or insight I would greatly >appreciate it. Paul, Use the new "RWP" string manipulation function in R:BASE! Syntax: (RWP('text string','actualword')) RWP = Relative Word Position Here's how: 01. Start R:BASE 7.6 for Windows (Build: 7.6.6.30214) or R:BASE Turbo V-8 (Build: 8.0.20.30214) or R:BASE eXtreme 32 (v9.0) (Build: 9.0.1.10214) or R:BASE eXtreme 64 (v9.0) (Build: 9.0.1.10214) http://www.rupdates.com 02. Try the following three examples and see what you get. -- Example 01: SET VAR vRWP = + (RWP('Imagine the Possibilities','Possibilities')) Variable vRWP will return the integer value of 3. -- Example 02: SET VAR vRWP = + (RWP('This is the R:BASE you have always wanted!','always')) Variable vRWP will return the integer value of 7. -- Example 03: SET VAR vRWP = + (RWP('Keep in mind that nothing is impossible','nothing')) Variable vRWP will return the integer value of 5. That's all there is to it! Very Best R:egards, Razzak.

