View Single Post
  #1  
Old 10-15-2003, 12:06 PM
 
rodneyw rodneyw is offline
 

Senior Member
  
Join Date: Mar 2003
Posts: 162
 

Default Truncating to the FIRST Character in a variable

trying to modify the customer reviews so that it doesn't automatically populate the name with the full name and email address of the customer.

Removing the email address was easy enough but now I am trying to have it default to just their first initial and last name .. or first name and last initial but I do not know how to modify the variable to only display the first character.
Code:
{if $login ne ""} value="{$customer_info.firstname} {$customer_info.lastname}" {/if}


any ideas? Thanks!
Reply With Quote