String.st
changeset 23970 71db573d52f6
parent 23960 3103b5967df7
child 23972 55b0236c0b33
--- a/String.st	Sun Mar 24 12:29:29 2019 +0100
+++ b/String.st	Mon Mar 25 16:25:09 2019 +0100
@@ -527,6 +527,7 @@
 
 
 
+
 !String class methodsFor:'queries'!
 
 defaultPlatformClass
@@ -549,6 +550,8 @@
 
 
 
+
+
 !String methodsFor:'accessing'!
 
 at:index
@@ -4500,6 +4503,15 @@
     ^ 1
 !
 
+bytesPerCharacterNeeded
+    "return the actual underlying string's required bytesPerCharacter
+     (i.e. checks if all characters really need that depth)"
+
+    ^ 1
+
+    "Created: / 25-03-2019 / 16:24:24 / Claus Gittinger"
+!
+
 characterSize
     "answer the size in bits of my largest character (actually only 7 or 8)"
 
@@ -4841,6 +4853,7 @@
     "Modified (comment): / 01-05-2017 / 14:05:41 / cg"
 ! !
 
+
 !String methodsFor:'substring searching'!
 
 caseInsensitiveIndexOfSubCollection:aSubString startingAt:startIndex ifAbsent:exceptionValue
@@ -5146,6 +5159,7 @@
 
 ! !
 
+
 !String class methodsFor:'documentation'!
 
 version