Adds the string representation the length of a string to the string, taking into account the added numeric string representation.
Go
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
textlengthweb
web
.gitignore
LICENSE
README.md
builder_test.go
lengthbuilder.go
textlength.go
textlength_test.go
textlengthitem.go

README.md

textlength

Adds the string representation of the length of a string to the string, taking into account the added numeric string representation.

Input: Here's an example right here.

Output: Here's an example right here. Text is sixty-seven characters long.

Take a look at the hover text for this xkcd comic: http://www.xkcd.com/688/

Installation

Create a directory, navigate to it and run the following from the command line:

git clone git@github.com:genghisjahn/textlength.git

cd textlength/web/

go run web.go

Open a browser and navigate to http://localhost:8888/.