*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Fri, 18 Aug 2006 12:28:41 +0200
changeset 9574 b2cd1336fea0
parent 9573 23b1a5724dfd
child 9575 353ef8cc798f
*** empty log message ***
String.st
--- a/String.st	Fri Aug 18 12:27:45 2006 +0200
+++ b/String.st	Fri Aug 18 12:28:41 2006 +0200
@@ -1731,6 +1731,16 @@
     "Modified: / 03-08-2006 / 14:45:32 / fm"
 !
 
+asPackageId
+    ^ PackageId from: self asSymbol
+
+    "
+     'stx:hello' asPackageId
+    "
+
+    "Created: / 18-08-2006 / 12:19:54 / cg"
+!
+
 asSingleByteString
     "I am a string"
 
@@ -3455,5 +3465,5 @@
 !String class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/String.st,v 1.239 2006-08-18 10:27:45 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/String.st,v 1.240 2006-08-18 10:28:41 cg Exp $'
 ! !