Added trimming function in StudentProfileSaveEditAction:extractProfileData