INTERACT FORUM

More => Old Versions => JRiver Media Center 19 for Windows => Topic started by: Zardoz2293 on August 10, 2014, 04:15:33 pm

Title: How To: Left Pad with Blank/Space
Post by: Zardoz2293 on August 10, 2014, 04:15:33 pm
I find in many MC fields the left side of the string has the blank/spaces removed. How do I add or force a space to exist on the left side of a string? The information is an example not to be taken literally.

Currently:
i.e., If( expressionTrue,       True ,) ---> "True " <-- undesirable

Desired:
i.e., If( expressionTrue,  True ,) ---> " True " <-- desired

Thanks
Title: Re: How To: Left Pad with Blank/Space
Post by: 6233638 on August 10, 2014, 04:24:04 pm
Add a slash before the space /
Title: Re: How To: Left Pad with Blank/Space
Post by: Zardoz2293 on August 10, 2014, 04:28:12 pm
Add a slash before the space /

Thank you!
Title: Re: How To: Left Pad with Blank/Space
Post by: fitbrit on August 10, 2014, 07:46:40 pm
One way (maybe not the most elegant) to correct any tags, for example the [name] field:
Right click on the [name] entry and choose rename (or left-click on it and hit F2)
Then type:

=/ [name]

Repeat for other tags. Batch select affected files.