Page 1 of 1

[REQ] A script to remove an emty line in Description field.

Posted: 2006-05-03 10:17:41
by jocke
Hi

If it's not to hard, could someone please make this script for me?

Most of my movies have the tagline and short description from IMDb and look like this:

Code: Select all

"How do I loathe thee? Let me count the ways."

A remake of the classic Shakespare play "The Taming of the Shrew.", set in a modern day highschool.
But I'd like to remove the emty line so it looks like this:

Code: Select all

"How do I loathe thee? Let me count the ways."
A remake of the classic Shakespare play "The Taming of the Shrew.", set in a modern day highschool.
Is this possible?
Many thanks in advance!

Posted: 2006-05-03 11:52:12
by antp
You want to remove all empty lines of the field, or only those that could be under the tagline?
In the first case, you can do that:

Code: Select all

  SetField(fieldDescription, StringReplace(GetField(fieldDescription), #13#10#13#10, #13#10));

Posted: 2006-05-03 12:10:50
by jocke
Yes, I wanted to remove all emty lines.
So your script works perfect for me.

Thank you very much! :)