Jerry, there was a discussion about this quite recently, so you can search the archives to find it.

The versions that I have are:

function TrimL aString
  return char offset(word 1 of aString, aString) to -1 of aString
end TrimL

function TrimR aString
retun char 1 to offset(word 1 of aString, aString) -1 of aString & word 1 to -1 of aString
end TrimR

Cheers,

Mark

On 14 Dec 2005, at 13:07, Jerry Muelver 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.

---- Jerry Muelver
_______________________________________________
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

_______________________________________________
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

Reply via email to