[SR-Dev] git:master: Remove function replace_len which is no longer needed.