opcodes_apply_str function

Apply Opcodes to String