String Character Length: Difference between revisions
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](http://static.miraheze.org/rosettacodewiki/thumb/b/ba/Rcode-button-task-crushed.png/64px-Rcode-button-task-crushed.png)
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")