Re: [CMake] Strip a prefix from a string

2009-01-11 Thread David . Karr
I'm afraid this accidentally went through once already while I was in the midst of editing it; this time it's for real. > 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

Re: [CMake] Strip a prefix from a string

2009-01-10 Thread Alexander Neundorf
On Saturday 10 January 2009, Robert Dailey wrote: > 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] Strip a prefix from a string

2009-01-09 Thread Robert Dailey
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? ___ CMake