'\" t .\" StrLin.sgm /main/8 1996/09/08 21:06:12 rws $ .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed -e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "XmStringLineCount" 3 .SH "NAME" \fBXmStringLineCount\fP \(em A compound string function that returns the number of separators plus one in the provided compound string "XmStringLineCount" "compound string functions" "XmStringLineCount" .SH "SYNOPSIS" .PP .nf #include \fBint \fBXmStringLineCount\fP\fR( \fBXmString \fBstring\fR\fR); .fi .SH "DESCRIPTION" .PP \fBXmStringLineCount\fP returns the number of separators plus one in the provided compound string\&. In effect, it counts the lines of text\&. .IP "\fIstring\fP" 10 Specifies the string .SH "RETURN" .PP Returns the number of lines in the compound string\&. If \fIstring\fP is empty, the function returns 1\&. If NULL is passed into \fIstring\fP, the function returns 0 (zero)\&. .SH "RELATED" .PP \fBXmStringCreate\fP(3)\&. .\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:31