stripping certain characters from a string
I have an app that I'm parsing a string from in a format like "14,950.00". I then have a need to use this value in another script, but I need the comma stripped out for the second script. FYI, I'm not always sure of the number of characters prior to the comma.
Anyone have an easy solution to stripping a comma from a string when you don't know where the comma is in the string?
Re: stripping certain characters from a string
Never mind, must have been a brain fart. A few simple StrSearchDelimited commands and a StrAdd solved this.
<font class="small">Code:</font><hr /><pre>StrSearchDelimited(sFirst,STRING_COMPLETE,sP rice,NULL,1,",",1,STR_SEARCH_FIRST);