Polycom Digital Signage Administrator Guide | Parsing Rule Reference Guide |
|
|
Example:
<ParsingRule Type="Lcase" Source="SomeSource" Result="AllSmallLetters" />
Left
The Left rule extracts a specified number of characters from the beginning of the Source container.
Parameters:
•Length: The number of characters to extract from the beginning of the Source container.
Example:
If the LongString container contains "abcdefghijklmnopqrstuvwxyz" then the following rule will place "abcde" in the ShortStuff container.
<ParsingRule Type="Left" Source="LongString" Result="ShortStuff">
<Length>5</Length>
</ParsingRule>
LeftTrim
The LeftTrim rule removes a specified number of characters from the beginning of the Source container.
Parameters:
•Length: The number of characters to remove from the beginning of the Source container.
Example:
If the LongString container contains "abcdefghijklmnopqrstuvwxyz" then the following rule will place "fghijklmnopqrstuvwxyz" in the ShortStuff container.
<ParsingRule Type="LeftTrim" Source="LongString" Result="ShortStuff">
<Length>5</Length>
</ParsingRule>
194 | Polycom, Inc. |