title: Split const char* in C++
body: <p>How could I split const char*?</p>
  
  <p>I have a date pattern saved on a const char. I would like to know if it is valid or not.
  Since I can't split const char*, what should I do then?</p>