--- In
iolanguage@..., Canol Gökel <canol@...> wrote:
>
> Hello,
>
> For example, I want to get the third character of string "Hello". I
> write something like this:
>
> "Hello" at(2) asCharacter
>
> This is of course not that hard but I should append asCharacter
> message because I want to get the letter and not the byte presentation
> of it. Is this the easiest way of getting characters or is there a
> single message to get a character at some index?
>
Also one another question, I want to change for example the second
letter with another one, can I write something else instead of the
code below:
"Hello" asMutable atPut(1, "d" at(0))
Especially instead of the "d" at(0) part.