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[MatchFence] - find the matching fence character to one in a string of text
Calling Sequence
MatchFence( s, pos )
Parameters
s
-
string; string to examine
pos
posint; the position of a fence character in the string s
Description
The MatchFence procedure locates the matching fence character to one specified in the input text s by its position pos. It returns the position, in s, of the matching fence character if present, or otherwise. If is not a fence character, that is, not one of , an exception is raised.
Examples
Error, (in StringTools:-MatchFence) the character `a' is not a fence character
See Also
string, StringTools, StringTools[IsBalanced]
Download Help Document