CharacterArray.st
changeset 23188 709c48bf557e
parent 23187 0f22aaefc623
child 23209 fe7673542e5f
equal deleted inserted replaced
23187:0f22aaefc623 23188:709c48bf557e
  1519 
  1519 
  1520     "
  1520     "
  1521      'foo bar, baz' substringsSeparatedBy:$,
  1521      'foo bar, baz' substringsSeparatedBy:$,
  1522      '1.2.3.4' substringsSeparatedBy:$.
  1522      '1.2.3.4' substringsSeparatedBy:$.
  1523     "
  1523     "
       
  1524 !
       
  1525 
       
  1526 trimBoth
       
  1527     "return a copy of the receiver without leading and trailing whiteSpace.
       
  1528      Added for Squeak compatibility (an alias for withoutSeparators)"
       
  1529 
       
  1530     ^ self withoutSeparators
       
  1531 
       
  1532     "Created: / 03-07-2018 / 11:08:29 / Claus Gittinger"
  1524 !
  1533 !
  1525 
  1534 
  1526 truncateTo:smallSize
  1535 truncateTo:smallSize
  1527     "return myself or a copy shortened to smallSize.  1/18/96 sw"
  1536     "return myself or a copy shortened to smallSize.  1/18/96 sw"
  1528 
  1537