String Character Length: Difference between revisions

From Rosetta Code
Content deleted Content added
No edit summary
No edit summary
Line 8: Line 8:


alias stringlength { echo -a Your Name is: $len($$?="Whats your name") letters long! }
alias stringlength { echo -a Your Name is: $len($$?="Whats your name") letters long! }

==[[Python]]==

'''Interpreter:''' [[Python]] 2.4

length = len("This string length will be determined")

Revision as of 13:50, 18 January 2007

Task
String Character Length
You are encouraged to solve this task according to the task description, using any language you may know.

In this task, the goal is to find the length of a string.

mIRC

Compiler: mIRC

alias stringlength { echo -a Your Name is: $len($$?="Whats your name") letters long! }

Python

Interpreter: Python 2.4

length = len("This string length will be determined")