var myEventDate = "10/01/2022"; var evd = myEventDate.substr(myEventDate.length - 4); var myTitle0 = "Welcome to Rhonda's " + evd + " Fundraising Page "; jQuery("#personal_page_header h2").html(myTitle0);