.. include:: ../substitutions
.. include:: ../../toolkit-substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEStringCSVTokenize

.. attention::

   |CPPONLY|

.. oe:function:: OEStringCSVTokenize

   .. oe:api::

      bool OEStringCSVTokenize(std::vector<std::string>& tokens,
                               const std::string& text, char delim = ', ',
                               char quote = '"')

   Parse the ``text`` string into a number of ``tokens`` delimited
   according to the rules of the comma-separated-value, CSV, format
   specified by `RFC 4180 <http://tools.ietf.org/html/rfc4180>`_. The
   delimiter and quoting character can be changed to alternative
   characters, e.g., a tab delimiter for tab separated files.
