Hitachi Vantara tools may need lightweight text transformations for demonstrations or test fixtures. Implement a Caesar-shift function that encrypts an ASCII string by moving each alphabetic character forward by a given integer shift.
a through z and uppercase letters within A through Z.z or Z.text, a string, and shift, an integer.def encrypt_string(text, shift):