Do you mean you need to 'trim' (Remove spaces from either or both ends of the string) or do you want to remove the first 5 characters regardless of spaces?
Some examples and their outputs:
//{@teststring}
' AAAAABBBBBCCCCC '
//{@Trim}
trim({@teststring})
'AAAAABBBBBCCCCC'
//{@Trimleft}
trimleft({@teststring})
'AAAAABBBBBCCCCC '
//{@Trimright}
trimright({@teststring})
' AAAAABBBBBCCCCC'
//{@remove1stfive}
mid({@teststring},6,len({@teststring})
'ABBBBBCCCCC '
//{@trimandremove1stfive}
mid(trim({@teststring}),6,len({@teststring})
'BBBBBCCCCC'
//{@trimanddisplay1stfive}
left(trim({@teststring}),5)
'AAAAA'
Does the above make sense? If you want to try out different displays then just test some of the above formulas with your own strings to see how they are affected. There are other solutions also but I am trying to understand your sample data and required output without much luck at the moment.
If you could post some sample data and desired layout then it would help to answer the question for yourself and any other users stumbling over the same issue
'J