Solved Delete Space from Code

mtabv

New Member
Hi erveryone,

I´m trying to read out a text of an element and always have to remove a space before re-using it.
I´m using a code stage, looking like this:

trim(XX) ;

Basic coding but as you might think (or directly see), its not working :D

Do you have ideas?

Thanks in advance :)
mtabv
 

VJR

Well-Known Member
Hello mtabv,

Just curious to know if there is any specific reason to try to remove the spaces from the code stage versus using the already available Trim string function?

If through the Code stage, which of the 3 BP supported languages are you using - Vb, J# or C#?
Is it right to assume you are trimming data from a Data Item?
Also some screenshots would help to understand more.
 

mtabv

New Member
Hi, to be honest there is no specific reason... where can I find the mentioned function?
 

VJR

Well-Known Member
ok, drag a Calc stage, open its properties, then on the bottom left hand side where it shows a list of function I think Trim is under 'Text'.
The Function Detail pane will tell how to use it.
 
Top