Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
StringTools[ExpandTabs] - expand tabs to specified tab stops
Calling Sequence
ExpandTabs( s, tabs )
Parameters
s
-
Maple string; string to be expanded
tabs
{posint,list(posint)}; (optional) tab stop specification
Description
The procedure ExpandTabs replaces tab characters in a string with spaces according to a given tab stop specification.
The tab stop specification must be either a positive integer, or a strictly increasing list of positive integers. If the tab stop is a positive integer , then tabs are set every columns. If the tab stop specification is a list , then tabs are set at columns , , ..., and . The default value for the optional second argument is the positive integer .
A string is returned in which tabs in the original input string s have been replaced by spaces to the indicated tab stops; the input string is not modified.
Examples
The following are errors because the lists of tab stops are not strictly increasing.
Error, (in StringTools:-ExpandTabs) tab stops must be strictly increasing
See Also
string, StringTools
Download Help Document