Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
StringTools[Iota] - generate string containing character ranges
Calling Sequence
Iota( n )
Iota( m .. n )
Iota( m, n )
Parameters
m
-
positive integer or character
n
Description
The Iota procedure generates strings containing character ranges. Called with one argument n, a positive integer or a character, it generates the string consisting of those characters whose ASCII values are in the range , inclusive. If n is a character (a string of length equal to one), it is equivalent to its ASCII value, given by the Ord procedure.
If Iota is called with two integer arguments (or two character arguments, again taken to be equivalent to their ASCII values), the character string consisting of the characters that fall numerically (in the ASCII character set) between those two values is generated.
The call Iota( m .. n ) is equivalent to Iota( m, n ).
When both m and n are specified, the numeric value of m must be less than or equal to n. Both m and n (or their ASCII numeric equivalent values) must be in the range .
Examples
Maple returns an error if the numeric value of the first parameter m is greater than that of the second parameter n.
Error, (in StringTools:-Iota) left endpoint of range must be less than or equal to the right endpoint
See Also
string, StringTools, StringTools[Char], StringTools[Ord]
Download Help Document