Training, Open Source computer languages

PerlPHPPythonMySQLhttpd / TomcatTclRubyJavaC and C++LinuxCSS

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact

Related technical and longer articles
Analysing incoming data lines
Tips and short articles on this subject
Replacing the last comma with an and
Tcl / regsub - changing a string and using interesting bits
Square Bracket protection in Tcl
Matching within multiline strings, and ignoring case in regular expressions
The fragility of pancakes - and better structures
How to check that a string contains a number in Tcl
Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
String Handling in Tcl - Tcl/Tk module T205
The Tcl language is built around strings Ð everything is a string! In this module we look at basic string handling commands, the string command itself which provides a flexible selection of facilities, and we introduce regular expressions for pattern matching.

This topic is presented on public course Tcl Basics

Examples from our training material
ac_report   Complete example - Access log file analysis
apfo   format and append commands
brax   Literally matching round brackets in regular expressions
ccat   lappend and concat - the difference
datematch   Matching a date using a regular expression
dm2   A further date match example
hunter   Example of analysis of a log file
iconfinder   search for all icon references in a web log
match   String matching - using globbing
rematch   String matching using a regular expression
rf   Opening and reading a file
rf2   Using scan to get a field from a string
rf2a   Using scan's return value
stringinfo   Getting information from a text string
stringman   Manipulating a string
More web pages on this subject
Regular Expressions in Tcl
Opentalk forum discussions related to this topic
regexp for multi line matching
reg parsing
Regexp help
Difference between a binary string quot and a quot string
expect reading in a list
egrep from a variabl
String match to
Regular Expressions
No Split Words
Long String to ASCII
Help wanted for using quot Scan quot command
Decimal to Hexadecimal conversion
Pictures
String matching in Tcl
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
Basic string handling commands.
scan.
Append and format.
The string command.
Subcommands.
Indexes.
Informational subcommands.
Manipulating subcommands.
The match subcommand and globbing.
Putting string together.
Regular expressions.
The elements of a regular expression.
Literals.
Character sets.
Counts.
Anchors.
Groupings and Alternation.
Manipulating matched regular expressions.
Extracting from a match.
Match and substitute.
Putting it together.
Looking forward.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Tcl/Tk, Expect,Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 600 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho