#REFACTORING by exept
authorClaus Gittinger <cg@exept.de>
Sun, 23 Feb 2020 16:31:45 +0100
changeset 9001 2a2c30b7b382
parent 9000 2bbe59f350b9
child 9002 0c1d599727eb
#REFACTORING by exept class: ResourcePack changed: #localAt:
ResourcePack.st
--- a/ResourcePack.st	Fri Feb 21 19:14:24 2020 +0100
+++ b/ResourcePack.st	Sun Feb 23 16:31:45 2020 +0100
@@ -1122,7 +1122,7 @@
         ((first == $( and:[last == $) ])
         or:[ (first == $[ and:[last == $] ])
         or:[ (first == ${ and:[last == $} ]) ]]) ifTrue:[
-            usedKey := aKey copyFrom:2 to:aKey size-1.
+            usedKey := aKey copyButFirstAndLast.
 
             val := self localAt:usedKey.        "/ recursion
             val notNil ifTrue:[^ first asString,val,last asString].