Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
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