[CMake] Strip a prefix from a string

Robert Dailey rcdailey at gmail.com
Fri Jan 9 22:17:53 EST 2009


Hi,

Suppose I have a string called "foobar". I want to be able to strip a
specific prefix from that string and have the suffix returned to me. So if I
wanted to strip "foo", I would get "bar" back. What's the easiest way of
doing this in CMake?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090109/2e889209/attachment.htm>


More information about the CMake mailing list