diff --git a/repository/Grafoscopio-Utils/String.extension.st b/repository/Grafoscopio-Utils/String.extension.st index 0a7662d..5435301 100644 --- a/repository/Grafoscopio-Utils/String.extension.st +++ b/repository/Grafoscopio-Utils/String.extension.st @@ -1,18 +1,5 @@ Extension { #name : #String } -{ #category : #'*Grafoscopio-Utils' } -String >> accentedCharactersCorrection [ - | modified corrections | - corrections := { - 'ó' -> 'ó' . 'ú' -> 'ú' . 'ñ' -> 'ñ' . - 'í' -> 'í' . 'á' -> 'á' . 'é' -> 'é' . '’' -> $' asString} asDictionary. - modified := self copy. - corrections keysAndValuesDo: [ :k :v | - modified := modified copyReplaceAll: k with: v - ]. - ^ modified -] - { #category : #'*Grafoscopio-Utils' } String >> asCapitalizedPhrase [ "I convert phrases like 'THIS IS A PHRASE' into 'This is a Phrase'."