Re: [CMake] Index CMake strings

2014-03-13 Thread Petr Kmoch
Hi Micha, the CMake equivalent code would be: string(SUBSTRING "${Str}" 3 1 c) Petr On Thu, Mar 13, 2014 at 10:27 AM, Micha Renner wrote: > Hallo, > > is it possible to index CMake strings. > In C it would something like this: > > char c = Str[3]; > > Micha > > > -- > > Powered by www.kitwa

[CMake] Index CMake strings

2014-03-13 Thread Micha Renner
Hallo, is it possible to index CMake strings. In C it would something like this: char c = Str[3]; Micha -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake communit