General information
Title:
Removing repetitive spaces from strings
Does the FoxTool function Reduce (or a similar function) exist in the Windows API? I need to remove repetitive spaces from a string. Below is the functions specifications from the FoxTools:
REDUCE(, )
Returns: Character
Description: Removes repetitive values in a string. Usually used to remove
groups of spaces in a string and replace it with one space.
- Character string to change
- Characters to search for
Example: ? REDUCE("This is lots of spaces", " ")
(returns: This is lots of spaces)
? REDUCE("Repeat characters AAAA and delete", "A")
(returns: Repe t ch r cters nd delete)
Thanks!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only