$modelProfileURL = $site_url.'profile/model/2/'.$rs_model[$i]['iModelId'].'/'.replace_content($rs_model[$i]['vFirstName']).'_'.replace_content($rs_model[$i]['vLastName']);
I need to truncate the first and last name to a max. of 25 characters. But I can't find the correct way to edit the code listed above. For example instead of the name being (for example: Mark Walker Smith Lewis Junior), it would only be Mark Walker Smith Lewis J. This is needed for design purposes. Can anyone assist?