Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Rebol idiom: how to get the last 3 characters of a string ?
Pages: [1] Print
Author Topic: Rebol idiom: how to get the last 3 characters of a string ?  (Read 335 times)
rebolnotes
Newbie
*
Offline Offline

Posts: 23


View Profile
Rebol idiom: how to get the last 3 characters of a string ?
« on: July 15, 2007, 08:33:24 PM »

I thought last function would have a parameter to do the equivalent of right function in Visual Basic but that's not the case.

So what is the most elegant way to do so in Rebol ?

Thks
Logged
Gabriele
Full Member
***
Offline Offline

Posts: 182


View Profile WWW
Re: Rebol idiom: how to get the last 3 characters of a string ?
« Reply #1 on: July 16, 2007, 01:26:25 AM »

Code:
copy skip tail string -3
Logged
Pages: [1] Print 
Rebol Talk Forum  |  Getting Started  |  Newbie Help  |  Topic: Rebol idiom: how to get the last 3 characters of a string ?
Jump to:  

  
Quick Search...

Advanced search
  
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 08, 2008, 02:27:21 AM
Username: Password: Session Length:
  

News: 01-09-08

Alpha version of REBOL 3 has been released!


  
2245 Posts in 589 Topics by 2259 Members
Latest Member: edibritrava

  Rebol Talk Forum | Powered by SMF 1.0.9.
© 2001-2005, Lewis Media. All Rights Reserved.

RT design by Defiant Pc