Question
I want to display only the first line of a multi-line textarea. I know I can use $formfield(School Contact,10,...) to limit the display to 10 characters. But, what I really want is just the first line where the person's name resides.
I cannot find any documentation on how to do this?
Environment
--
JohnGee - 19 Sep 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
You could use the
SpreadSheetPlugin for this:
SEARCH for the end of the line (
<br />) and REPLACE from that point to the end of the string with null (use LENGTH to find the end of the string).
Another option is to use a
FormattedSearch pattern to clip it with a regular expression.
--
SeanCMorgan - 22 Sep 2008
Closing this after more than 30 days of inactivity, seems to be answered.
--
PeterThoeny - 07 Nov 2008