View Single Post
08-10-2011, 06:30 PM
jshotzz is offline jshotzz
Status: I'm new around here
Join date: Oct 2008
Location: Mississauga Ontario
Posts: 10
iTrader: 0 / 0%

jshotzz is on a distinguished road

  Old  Urgent Help Needed - JSP Related

Site I'm working on in jsp has a string inside a title I'd like to TitleCase but not sure what function to use or how to implement it.

<title>Sports Site: <%= title %> </title>

Can I add a function to the variable?

I know in php I can do this

<title>Sports Site: <?php ucfirst($title); ?> </title>

and problem solved. But wondering if anyone knows a fix for jsp


Reply With Quote