static *string manipulation by compiler?

From: Bernd Prager (bernd_at_prager.ws)
Date: 10/31/03


Date: Fri, 31 Oct 2003 11:39:55 -0500

I would like to use an inline function to chack the
version number of a class:

  /** returns version number of this class */
  inline static char* Version() {
    static *version = "$Revision: 1.2 $";
    return version;
  }

But I just want to have the number "1.2" and not the entire string
that CVS generates. Is there a way to tell the compiler to
manipulate the string before assigning it to "*version"?

Thanks,
-- B.