Use mb_substr when stripping prefix