I know this might sound like a "beginner" question but I know most of the time strings in RPG have a fixed length (but more importantly, have a finite length). But I'm pretty much lost on how to write a procedure for string manipulation.
How can I write a procedure that takes care of a string of whatever length? Can I use this:
text = manip_str(text);
Would it work with all different lengths? Any help would be greatly appreciated.