Look at the Nav C/side Reference Guide for "DELCHR" for details
If I wanted to delete blank spaces at the end of "My field" then I would do something like this.
"MyStringField" := DELCHR("MyStringField",'>',' ');
You say you want to convert it to an integer - So I also have to assume that this text string contains only Numbers then you would use the "EVALUATE" function
[Ok :=] EVALUATE(Variable, String)
Comments
If I wanted to delete blank spaces at the end of "My field" then I would do something like this.
"MyStringField" := DELCHR("MyStringField",'>',' ');
You say you want to convert it to an integer - So I also have to assume that this text string contains only Numbers then you would use the "EVALUATE" function
[Ok :=] EVALUATE(Variable, String)
etc etc
http://www.BiloBeauty.com
http://www.autismspeaks.org
Thanks for your prompt reply.