On 12/14/05, Jerry Muelver <[EMAIL PROTECTED]> wrote: > > Are there in RF functions complementary to BASIC's RTRIM and LTRIM > functions? Or, is this kind of chunk manipulation a "do it yourself" > project? > > I have > .title, Going Home > > And I want get item 2 and strip the leading space. I know I can check > character 1 and delete it if it's a space, but thought I'd try to find a > LTRIM function first.
Bob Warren on 22 Oct 05 asked the a similar question and got some excellent responses. If you just want to trim both leading and trailing spaces then the short answer was given by Marcus van Houdt, put word 1 to -1 of item 2 of " title, Going Home " This will put "Going Home" into message. If you actually want to only trim the leading spaces or just the trailing spaces then I suggest you search the archive with Eric's Resource Picker for the twenty odd responses Bob got for his orginal question - very instructional. Bascially there is no Rev equivalent of LTRIM and RTRIM. HTH PS I Can't believe I've got to a question before someone else has answered - everyone else must discussing [OT] ;-) _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
