INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Manage links: how do I send title capitalized?  (Read 1010 times)

MarkCoutinho

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 676
Manage links: how do I send title capitalized?
« on: December 23, 2013, 03:16:00 am »

Hi all,

In my database I have my song titles written like this: Abba - The day before you came.
In one of my links I want to send this information like this: Abba - The Day Before You Came (every first letter of the word in the Title (not the name) is capitalized)

This is my link right now: http:////lyrics.wikia.com//[Artist]:[Name]
But that is obviously not sending the right information.

What can I do to send it the way I want?

Thanks for helping me out on this one!
Logged
Mark Coutinho
Dutch Top 40 collector of lyrics, sleeves and bios

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Manage links: how do I send title capitalized?
« Reply #1 on: December 23, 2013, 07:30:43 am »

Logged
Matt Ashland, JRiver Media Center

MarkCoutinho

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 676
Re: Manage links: how do I send title capitalized?
« Reply #2 on: December 23, 2013, 07:42:11 am »

Thanks, Matt. It took some searching, but I managed to edit my link.

For people who bump into the same problem, this is the code I use now:

http:////lyrics.wikia.com//[Artist]:fixcase([name], 1)
Logged
Mark Coutinho
Dutch Top 40 collector of lyrics, sleeves and bios

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
PSA: Direct links to functions on Expression wiki
« Reply #3 on: December 23, 2013, 11:55:55 am »

FYI: Function names have direct Wiki links in the expression language page.

   http://wiki.jriver.com/index.php/Expression_Language#FixCase

The first sentence of each Description starts out with "The function <function()>...", and <function()> is a link.  Links are always camel-cased function names following a hash-tag.
Logged
The opinions I express represent my own folly.
Pages: [1]   Go Up