String Scrolling Function

I am doing a project using Arduino nano with max7219 4 in 1 module (FC16_HW) And trying to get the text to be scrolled but not able to do that. I used the available library but not able to set it in my already build program due to memory issue. can anyone please help me to scroll the text horizontally.

Without seeing code there is not much chance.

due to memory issue is very vague; you will explain that in more detail.