Skip to content

A tool for splitting identifier names into separate words, numbers, and symbols. For example, 'aName_AST42:' gets separated into 'a', 'Name', '_', 'AST', '42', and ':'

License

Notifications You must be signed in to change notification settings

olekscode/IdentifierNameSplitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Identifier Name Splitter for Pharo

Build Status Build status Coverage Status License Pharo version Pharo version Pharo version

A tool for splitting identifier names into separate words, numbers, and symbols. For example, aName_AST42: gets separated into 'a', 'Name', '_', 'AST', '42', and ':'.

Installation

To install IdentifierNameSplitter, go to the Playground (Ctrl+OW) in your Pharo image and execute the following Metacello script (select it and press Do-it button or Ctrl+D):

Metacello new
  baseline: 'IdentifierNameSplitter';
  repository: 'github://olekscode/IdentifierNameSplitter/src';
  load.

How to use?

'HelloWorld' splitIdentifierName.
"#(Hello World)"

'adaptToCollection:andSend:' splitIdentifierName.
"#(adapt To Collection : and Send :)"

'example42' splitIdentifierName.
"#(example '42')"

'parseHTTPRequest:' splitIdentifierName.
"#(parse HTTP Request :)"

'a_bc>>xy42HTMLEditor:AST++' splitIdentifierName.
"#(a _ bc >> xy '42' HTML Editor : AST ++)"

About

A tool for splitting identifier names into separate words, numbers, and symbols. For example, 'aName_AST42:' gets separated into 'a', 'Name', '_', 'AST', '42', and ':'

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published