[EMAIL PROTECTED] wrote:

> Hi Donald,
>
> > Does anyone know if/when basic string functions** are going to be added to
> > REBOL/Core or parse, or am I missing something in the docs?
> > **you know, LEFT, RIGHT, LENGTH, etc.
>
> For getting the length of a string, look at this example
>
> example-string: "Hello World!"
> print length? example-string
>
> As for the others, I am not sure what you mean by "left" and "right" but
> you can get a single character such as in this example
>
> print pick example-string 7

No, LEFT and RIGHT says how much chars from the left/right side should be
returned. SUBSTRING says, from what position and how many chars to return. Some
simple functions follow:

left:      func [str num][copy/part str num]
right:    func [str num][copy skip tail str negate num]
substr:  func [str num length][copy/part at str num length]

-pekr-

>
> Later,
>
> Eric

Reply via email to