Hi,
On 5/27/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
Use Trim from sysutils and then DelSpace1 from strutils.
http://www.freepascal.org/docs-html/rtl/strutils/delspace1.html
It might be a good idea to look at
http://www.freepascal.org/docs-html/rtl/strutils/index-5.html
Just so yo
On Fri, 26 May 2006, Graeme Geldenhuys wrote:
> Hi,
Anybody know of a function that can remove (normalize) a string by
remove all beginning and ending whitespace as well as replace all
repeated spaces with a single space. A bonus would be to remove tabs
and newlines chars as well, but that is
On 5/26/06, Cox, Stuart TRAN:EX <[EMAIL PROTECTED]> wrote:
The __CvtStr function used the _REM_LEAD_WHITE_STR +
_REM_TRAIL_WHITE_STR
For this you can just use the Trim function.
+ _REDUCE_WHITE_STR
This looks easy to implement. You can just create your own function for this.
for i := 0 to
esenting the time of day
}
{ __TFromStr Return the time from a string
}
{
}
{ Version 5.10 (C)Copyright Blaise Computing Inc. 1990
}
{___
}
Stu
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Beh
Hi,
Anybody know of a function that can remove (normalize) a string by
remove all beginning and ending whitespace as well as replace all
repeated spaces with a single space. A bonus would be to remove tabs
and newlines chars as well, but that is not so important.
Example:
Before: " This is