$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] program_options: Is there a way to parse an ODBC connect string?
From: Eric J. Holtman (eric_at_[hidden])
Date: 2009-11-16 13:30:33
I'd like to parse an ODBC connect string (or other
similarly constructed strings) using program_options.
So, I have something like:
Data Source=myServerAddress;Initial Catalog=myDataBase;Integrated
Security=SSPI;
now, I could implement the function that converts this to
something I can use, like
--Data_Source myServerAddress --Initial_Catalog myDataBase
--Integrated_Security SSPI
but I was wondering since there's already a split_winmain function,
is there a function that already does this, before I roll my own?