|
Display Format Tagging Syntax
|
|
18-05-2015, 15:17
Post: #2
|
|||
|
|||
RE: Display Format Tagging Syntax
(18-05-2015 13:52)pzyvbv Wrote: Hi This string has two format items: $title^ $date^ [^] The $ in $date terminates the first format item and applies default values for the omitted suffix and separator. It is equivalent to: $title^^^, $date^ [^] Quote:Is this the same as: Title.displayFormat={$title^^^$date^ [^]^} This string explicitly specifies null strings for the separators, overriding the default value of comma+space. Quote:When a second tag is referenced is the next caret (^) found associated with the last tag? Carets are associated with format items, not with tags. Each format item can contain one or more tags. Each caret is associated with the format item that is currently being processed when the caret was encountered. Quote:And then once three ^'s have been processed for a tag any subsequent ones are associated with the previous tag, i.e. the processing is recursive and is always trying to close off the last tag? The processing is linear, not recursive. Any $ following a ^ ends the current format item and starts the next format item. If there are more than three ^ characters in a format item, the extra ones are treated as literal characters in the separator string. Quote:So in the above example is the [ a prefix for $date rather than a suffix for $title? Yes, it is. Quote:Hope this makes sense!! Thanks for asking! I have added some more explanation to the User guide section in an attempt to clarify this parsing for other users. |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Display Format Tagging Syntax - pzyvbv - 18-05-2015, 13:52
RE: Display Format Tagging Syntax - simoncn - 18-05-2015 15:17
RE: Display Format Tagging Syntax - pzyvbv - 18-05-2015, 16:04
RE: Display Format Tagging Syntax - simoncn - 18-05-2015, 16:15
RE: Display Format Tagging Syntax - pzyvbv - 18-05-2015, 16:54
RE: Display Format Tagging Syntax - simoncn - 18-05-2015, 18:06
RE: Display Format Tagging Syntax - pzyvbv - 18-05-2015, 21:47
RE: Display Format Tagging Syntax - simoncn - 18-05-2015, 22:21
RE: Display Format Tagging Syntax - pzyvbv - 18-05-2015, 23:44
RE: Display Format Tagging Syntax - simoncn - 19-05-2015, 09:19
RE: Display Format Tagging Syntax - pzyvbv - 19-05-2015, 10:07
RE: Display Format Tagging Syntax - simoncn - 19-05-2015, 14:27
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




