Moving from GrafoscopioUtils.
This commit is contained in:
parent
cb886d6307
commit
ef469a9b85
8
src/MiniDocs/String.extension.st
Normal file
8
src/MiniDocs/String.extension.st
Normal file
@ -0,0 +1,8 @@
|
||||
Extension { #name : #String }
|
||||
|
||||
{ #category : #'*MiniDocs' }
|
||||
String >> asDashedLowercase [
|
||||
"I convert phrases like 'This is a phrase' into 'this-is-a-phrase'."
|
||||
|
||||
^ '-' join: (self substrings collect: [:each | each asLowercase ])
|
||||
]
|
Loading…
Reference in New Issue
Block a user