This should work
%SUBSTR(-4)%%notify_by_phone%%SUBSTR_END% It all depends on if you have regular expressions installed for the phone number fields. This is also assuming they phone numbers do not have any extension information in the number. Now if you have them with extensions in the number you will need something more like this. %SUBSTR(8,4)%%notify_by_phone%%SUBSTR_END% IF phone numbers follow the format of XXX-XXX-XXXX. If they follow the format of (XXX)XXX-XXXX then the numbers would be 9,4 instead of the 8,4 Lynn Floyd lfl...@andersonlibrary.org Anderson County Library 864-260-4500 x181 http://www.andersonlibrary.org <http://www.andersonlibrary.org/> From: open-ils-general-boun...@list.georgialibraries.org [mailto:open-ils-general-boun...@list.georgialibraries.org] On Behalf Of Dana Schwarz Sent: Wednesday, May 14, 2014 2:11 PM To: Evergreen Discussion Group Subject: [OPEN-ILS-GENERAL] Modifying Information on Hold Slips Hello, I was hoping someone can explain to me how to have a hold slip print the patron's last four digits of their phone number? We are removing all of our holds from the back of the circulation desk for the public access themselves. Patrons will be able to pick up their own holds. Thank you for your help, Dana Schwarz Technical Services Coordinator Lincoln Public Library 4080 John Charles Boulevard Vineland, ON L0R 2C0 905-562-5711 905-562-3454 (fax) schw...@lincoln.library.on.ca