Hi!

I have several config files that look like this:

!Content
Image-Person
Section:Subtitle1 Person
Content1 Person 1
Content1 Person 2
----
Section:Subtitle2 Person
Content2 Person 1
Content2 Person 2
Content2 Person 3
Content2 Person 4
----
Section:Subtitle3 Person
Side1-GoodContent3 Person 1
Side2-BadContent3 Person 2
----
Section:Subtitle4 Person
Content4 Person 1
Content4 Person 2
Content4 Person 3
!Colors
Title:TitleColor
Subtitle:SubtitleColor


Note that those aren't actual parameter names, just placeholders.
Actual parameter names would be "First name", "Last name", "Age"...
The Content section represents the table layout. Parameters starting
with "Section:" are section titles, everything else is content that
consist of a parameter name and the entered information. So a section
in a table would look like this:

Personal information
First name              Bill
Last name               Hitchcock
Age                     Unknown


The problem is, sections can contain a different number of content
lines and each content line is named differently.

What I want to know is whether there's a simple way to count the
number of lines in each section. I need this so I can hide the section
title row in the table, if no information is entered. I already
figured out how to hide the lines.

w

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to