FIXED - Right()
Matt, is this what you mean?
function right(sequence s, integer i)
return s[length(s)-i+1..length(s)]
end function
>Here's what was wrong with the right() function:
>It didn't return anything
>Here's how it works now:
>It takes your two values you passed it(possibly "foobar",3), and it take=
s
>the characters from length(raw) to length(raw)-chars+1. But it returns
>everything backwards! So i fixed that too by reading the result in
>reverse, which returned it the right way.
|
Not Categorized, Please Help
|
|