#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Fri, 01 Mar 2019 14:41:48 +0100
changeset 23783 d81aa5b9d246
parent 23782 1fc3c2e0bc92
child 23784 0f14985777e1
#DOCUMENTATION by cg class: CharacterArray category of: #endsWithDigit
CharacterArray.st
--- a/CharacterArray.st	Fri Mar 01 12:04:02 2019 +0100
+++ b/CharacterArray.st	Fri Mar 01 14:41:48 2019 +0100
@@ -1288,14 +1288,6 @@
     "
 !
 
-endsWithDigit
-    "Answer whether the receiver's final character represents a digit.  3/11/96 sw"
-
-    |len|
-
-    ^ (len := self size) ~~ 0 and:[(self at:len) isDigit]
-!
-
 findDelimiters:delimiters startingAt:start
     "Answer the index of the character within the receiver, starting at start,
      that matches one of the delimiters.
@@ -2455,6 +2447,14 @@
     "Created: / 29-06-2018 / 11:38:57 / Claus Gittinger"
 !
 
+endsWithDigit
+    "Answer whether the receiver's final character represents a digit.  3/11/96 sw"
+
+    |len|
+
+    ^ (len := self size) ~~ 0 and:[(self at:len) isDigit]
+!
+
 hammingDistanceTo:aString
     "return the hamming distance (the number of characters which are different).
      In information theory, the Hamming distance between two strings of equal length