The function FixString ()/ takes a String and the String length and additionally takes the direction (' l' left/' r' right) and returns the corresponding substring as result.
FixString('String','length', 'direction')
FixString('ABCDEFG', '3', 'r')
returns EFG
FixString('ABCDEFG', '3', 'l')
returns ABC