symbol-string-and-package-from-string

Function

Package: common-graphics

Arguments: symbol-string &optional default-package

Parses the colon (or pair of colons) in a string to return two values: a symbol-name string and a package. If the substring before the colon(s) is not the name or nickname of a package, then nil is returned as the second value rather than a package.

For example:

> (symbol-string-and-package-from-string "cg::dummy")
"dummy"
#<The COMMON-GRAPHICS package>

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.