title: Convert a character into another
body: <p>I am trying to send some params to the backend.</p>
  
  <pre><code>   var params = $('#creationModal').serialize();
      console.log(params);
      $.ajax({
          type: 'post',
          url: '/create-flow/save?flowName=' + flowName + '&amp;testCaseNames=' + testCaseNames + '&amp;' + params
  </code></pre>
  
  <blockquote>
    <p>console.log(params): params=506%2C77&amp;params=sfa&amp;params=sfasgags</p>
  </blockquote>
  
  <p>The problem is that I get a string with <code>506,77,sfa,sfasgags</code> but the first value <code>506,77</code> is actually a float.</p>
  
  <p>I just want to send the string separated by <code>|</code> instead of <code>,</code>. Is there a way to serialize this way?</p>
  
  <p>Backend</p>
  
  <pre><code> @RequestMapping(value = "/create-flow/save" , method = RequestMethod.POST)
  public @ResponseBody String saveFlow(HttpSession session, @RequestParam("flowName") String flowName, @RequestParam("testCaseNames") String[] testCaseNames, @RequestParam(value = "params", required = false) String params) {
      String user = session.getAttribute("loggedUser").toString();
      return TestFlow.addFlow(flowName,testCaseNames, params,user);
  }
  </code></pre>