Help - Search - Members - Calendar
Full Version: Reformat title
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
damjang
Hello to everybody. I have to reformat the %title% in only the first char uppercase and all the others in lower case. There is only functions to make all in lower or upper ($lower $upper) and the $caps function. Some years ago I did it, but then I reinstall the new version of f2k and overwrite the settings and now I'm not able to do it again crying.gif . Is someone there that can help?

damjang
Synthetic Soul
$upper($left(%title%,1))$lower($substr(%title%,2,$len(%title%)))
damjang
QUOTE(Synthetic Soul @ Apr 17 2007, 22:48) *

$upper($left(%title%,1))$lower($substr(%title%,2,$len(%title%)))

Oh thank you. This work!
I try to use $upper($left(%title%,1))$lower($right(%title%,($len(%title%)-1))) but without secess...
and don't see $substr function in help cool.gif

damjang
Synthetic Soul
Instead of:

$len(%title%)-1

... you would need:

$sub($len(%title%),1)
damjang
..oh yes. Thank you again

damjang
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.