Camera Bits Forums
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to Camera Bits Forums
Home
Help
Search
Calendar
Login
Register
Camera Bits Forums
»
Photo Mechanic
»
Support
»
Trimming IPTC field white space
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Trimming IPTC field white space (Read 3118 times)
devenh
Sr. Member
Posts: 435
Trimming IPTC field white space
«
on:
March 21, 2013, 01:34:17 PM »
Just wondering whether any new tools have been added to trim the white space from IPTC fields since my last thread on this topic:
http://forums.camerabits.com/index.php?topic=5388.msg24638#msg24638
Some of my field values have a space and CF/LF at the end. Not sure why, really. These values are added via CR. Only seems to affect multiline fields (e.g. Headline). Single line fields like Category are fine -- no trailing blank nor CF/LF.
Anyway, the past advice has been to use something like {headline:0,-2} to correct it, which will of course assuming each field needs to be trimmed by 2 characters. I am hoping there is something a little more flexible?
Deven
Logged
Kirk Baker
Senior Software Engineer
Camera Bits Staff
Superhero Member
Posts: 25020
Re: Trimming IPTC field white space
«
Reply #1 on:
March 21, 2013, 02:14:53 PM »
Deven,
No, no new capabilities have been added to variables substring extraction.
-Kirk
Logged
devenh
Sr. Member
Posts: 435
Re: Trimming IPTC field white space
«
Reply #2 on:
March 21, 2013, 02:20:42 PM »
Okay, thanks.
Also found the source of the trailing space and CR/LF -- my stationery pad ...
Deven
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Camera Bits Forums
»
Photo Mechanic
»
Support
»
Trimming IPTC field white space