View Full Version : LiveText Conditional Substitutions

02-21-2013, 10:19 AM
It would be great if there was a way to program conditional substitutions into LiveText for use with a DataLink stream.

For example, if the DataLink information for "Period" populates a text box in LiveText as "1","2" or "3", it would be great if those could be automatically formatted to be "1st", "2nd" and "3rd".
A substitution string could be inputed (something like "1=1st|2=2nd|3=3rd|4=OT") and then automatically used by the relevant DataLink code.

Something similar could be used to create ESPN-type indication for timeouts left (i.e. "1=_|2=_ _|3=_ _ _|4=_ _ _ _").

Does that make sense? Does something like this already exist that I'm not aware of?