Skip to content

Commit

Permalink
add shortcut asTitleCase
Browse files Browse the repository at this point in the history
  • Loading branch information
badetitou committed Jan 9, 2023
1 parent eda1083 commit 72dd221
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/PharoStringCaseFormating/String.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Extension { #name : #String }

{ #category : #'*PharoStringCaseFormating' }
String >> asTitleCase [

^ PharoStringCaseFormater new
string: self;
asTitleCase
]

0 comments on commit 72dd221

Please sign in to comment.