ID:182105
 
Anyhow, read the title.

I think I found an error in the DM reference in the copytext example...

Example:
pre = copytext("Hi there",1,3))// = "Hi"
post = copytext("Hi there",4)) // = "there


Shouldn't the pre variable contain "Hi " and not "Hi"? Since it copies the third character, I can't really test it at the moment since I am on a non-BYOND using computer.

--Haywire
It does not copy the third character; it copies up to the third character. The very same section of the reference you were looking at explains this.

Lummox JR
In response to Lummox JR
Ahh, sorry... I totally missed it. I'm sorry for an inconvenience :D

Should I delete this post?
In response to Haywire
You can't and you shouldn't, for people that have the same question and <small>might</small> use the forum search! :p