` Strip characters out of a string (Dennis Evans ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Strip characters out of a string
2001-11-05 -- Dennis Evans
 
> How do I best take a string a strip hyphens and commas, etc... out? you folks work too hard, use strtok, for a string like 'This is - a t-est of - the -- hy-phens --- remo-val' call, Delimit = '-' WorkStr = 'This is - a t-est of - the -- hy-phens --- remo-ve' StripString(WorkStr, ResultStr, Delimit) ResultStr will contain 'This is a test of the hyphens remove' To remove - and spaces, set delimit to '- '


Today is April 25, 2024, 11:10 pm
This article has been viewed 35111 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: