substr

substr string, pos, [n, replacement]