sez [EMAIL PROTECTED]:
>How is this statement wrote in Rev,
>
>len(right(number, 3)
>
>this in VB will take the number ex:
>
>number = "12345678"
>
>and cut it down to
>
>number = "678"
>
>starting at the right and give you the first 3 numbers.
>
>I need to do this in Rev.
>
>
>I searched "len" and got
>
>put char (length(it) - 3) to (length(it)) of it into myExtension
>
>but don't understand what it means.
   Fortunately, it's simpler than that -- you don't need to worry about the 
length() function at all! CHar -1 of a string is *always* its *last* character; 
char -2 of a string, it's next-to-last character; and so on. Like so:

put char -3 to -1 of it into myExtension
_______________________________________________
use-revolution mailing list
[email protected]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to