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[WordStart] - locate the beginning of a word
StringTools[WordEnd] - locate the end of a word
StringTools[WordContaining] - return the word containing a given index
Calling Sequence
WordStart( s, index )
WordEnd( s, index )
WordContaining( s, index )
Parameters
s
-
Maple string
index
integer; a valid index into the string s
Description
The WordStart command returns the index of the beginning (first letter) of the word containing the index index, if any. If the second argument index does not occur in a word in the string s, then the value is returned.
The WordEnd command returns the index of the end (last letter) of the word containing the index index, if any. If the second argument index does not occur in a word in the string s, then the value is returned.
The WordContaining command returns the word containing the index index, if index lies within a word in the string s, or the empty string , otherwise.
For all three commands, the second argument index must be a valid index into the string presented as the first argument.
If the index index lies within a word in the string s, then WordContaining( s, index ) = s[ WordStart( s, index ) .. WordEnd( s, index ) ].
Examples
See Also
string, StringTools, StringTools[Split]
Download Help Document