Clean unwanted characters in a string, is there a function?

Questions about MultiCharts and user contributed studies.
arjfca
Posts: 1273
Joined: 23 Nov 2010
Has thanked: 720 times
Been thanked: 222 times

Clean unwanted characters in a string, is there a function?

Postby arjfca » 19 Jun 2012

Hello

I got a strange result from a function that i have created. The function is manipulating numbers as characters. Read the High of the day, transformed the value as a string then add this new string to a bigger string. Later, these value are read back and re-transformed as number

Is there a function to clean any un-printed characters that may reside in a string. A similar function do Exist in Excel, but I can find any in MC

Martin

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 485 times

Re: Clean unwanted characters in a string, is there a functi

Postby Dave Masalov » 19 Jun 2012

Hello Martin,

Unfortunately, there is no such function. The only workaround is to write an external dll function that does this.
These users thanked the author Dave Masalov for the post:
arjfca


Return to “MultiCharts”