> Could someone provide me an example 'to lowcase' a vtkStdString ? > I would like to apply a tolower() method but don't know how. > > vtkStdString units; > if (units.find(" since ") != vtkStdString::npos) > { > ... > Take a look at VTK/Utilities/kwsys/SystemTools.hxx.in and RegularExpression.hxx. SystemTools::LowerCase is a routine to downcase strings and RegularExpression lets you define searches. To use them, you need to #include <vtksys/SystemTools.hxx> #include <vtksys/RegularExpression.hxx> Note that the includes use vtksys, not kwsys.
David _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview