Syntax for trimPadding() function of APT_String?
Posted: Wed Feb 04, 2009 5:15 pm
Hello All,
I'm developing a custom buildop and I'm trying to figure out how to use trimPadding(), a function of APT_String. I found the declaration and some examples in basicstring.h. I was hoping the set of pdf's that come with the client install would have some information but haven't been able to find anything there other than "go look in basicstring.h". I searched the forums and only found one topic that mentioned trimPadding (in this same forum). Anyway, if you can point me to the documentation I would really appreciate it!
Basically, I'm trying to understand how to trim all leading and trailing spaces on a field. Per the header file, the function just trims trailing spaces by default. I know it has something to do with the dir parameter but I can't seem to get the syntax correct. Thanks!
**Note: Subject line made more descriptive - Content Editor **
I'm developing a custom buildop and I'm trying to figure out how to use trimPadding(), a function of APT_String. I found the declaration and some examples in basicstring.h. I was hoping the set of pdf's that come with the client install would have some information but haven't been able to find anything there other than "go look in basicstring.h". I searched the forums and only found one topic that mentioned trimPadding (in this same forum). Anyway, if you can point me to the documentation I would really appreciate it!
Basically, I'm trying to understand how to trim all leading and trailing spaces on a field. Per the header file, the function just trims trailing spaces by default. I know it has something to do with the dir parameter but I can't seem to get the syntax correct. Thanks!
**Note: Subject line made more descriptive - Content Editor **