How to calculate Character Position in String

Subject: How to calculate Character Position in String
From: Roland Schopf <Roland.Schopf@xxxxxxxxxxx>
Date: Mon, 5 Jun 2000 15:39:32 +0200
Hi all,

I have the follwing sgml:
<table tabid="doc.123.T456"><title>Table Title Text</title>...</table>

and I want to generate somthing like:
<P>Table 456: Table Title Text</P>

My only problem now is, how to get the position of the last dot, in order to
cut the attribute-string with the substring function.
Probably I have to convert the string into a list and have to loop over it.
But as I'm not very familiar with this construct all my appoaches did not
work.

Hopefully someone already solved a similar problem.

Thanks a lot

Roland Schopf

---------------------------------------------------------------------------
Roland Schopf		Sema Group GmbH
Carl-Zeiss-Ring 6		Phone:   +49 89 996524-55
85737 Ismaning		Fax:     +49 89 996524-44
GERMANY			E-Mail:roland.schopf@xxxxxxxxxxx
---------------------------------------------------------------------------


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread