Hello,

With revolution this is even easier than Basic, all you need to do is:

put word 1 to -1 of "        The cat sat under the mat.         "

This will put "The cat sat under the mat." into message.

Regards,

Marcus

Software Developer
Runtime Revolution


Sometimes inexperienced Rev programmers have to ask questions that make them want to crawl under the table in shame because probably the answer is idiotically simple. Here is such a question.

If I have a string, say:-

"   The cat sat under the mat   "

- and I want to trim off the leading and following blanks to give:-

"The cat sat on the mat"

- how can I do this quickly in Transcript?

In Basic, it is very simple. You can use the functions LTrim$, RTrim$ or just Trim$ to lop off both sets of blanks.

Thanks very much in advance to the individual who will surely give me the answer in a flash.
_______________________________________________
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