How to replace a multi-character character constant with one character : <p>I'm attempting to replace <code>'%7C'</code> with a <code>'|'</code> in C but i'm getting a multi-character character constant warning. I was wondering if it was possible to do this and if so how? I was attempting using the code below but it gave this warning.</p>

<p><strong>Parse.c</strong></p>

<pre><code>char *parse(char *command){
 char * newCommand = (char *)malloc(sizeof(char)*35);
     newCommand = strtok(command, " ");
     newCommand = strtok(NULL, "/run?command= ");
     for(int i = 0; i&lt;strlen(newCommand); i++){
          if(newCommand[i] == '+')
          {
              newCommand[i] = ' ';
          }
          if(newCommand[i] == '%7C')
          {
               newCommand[i] = '|';
          }
     }
    return newCommand;
  }
</code></pre>
