The '-' accessor can be used with the replace operation

I don't know if it's against the rfc6902 specification, but it appears to be very usefull in many cases.
Remove semi-colon. Also does not this work if the array is empty to begin with? Mind adding a test case for that?