Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
RTL
Delphi
Arithmetic
ConvUtils
Date - Time
DateUtils
File Management
Format + Float
Input/Output
Math Unit
Memory, Pointer, Address
Null-terminated strings
Other Classes
Other RTL
Pascal Strings
Regular Expressions
RTL Exceptions
Text Files
Thread support
Typed/Untyped Files
WinAPI
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/RTL/Delphi/Pascal Strings
[ Add a report in this area ]
Report #:
68494
Status:
Closed
Trim function doesnt Work
Project:
Delphi
Build #:
17555
Version:
12.0
Submitted By:
Diego Garcia
Report Type:
Crash / Data loss / Total failure
Date Reported:
11/1/2008 11:00:31 AM
Severity:
Serious / Highly visible problem
Last Updated:
11/2/2008 7:00:28 PM
Platform:
All platforms
Internal Tracking #:
Resolution:
Test Case Error
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
I've tryed to use the trim function but it's not triming the text.
Steps to Reproduce:
ShowMessage(Trim('Testing Trim Function'));
Workarounds
None
Attachment
None
Comments
Tomohiro Takahashi at 11/1/2008 11:11:37 PM
-
I can not reproduce your issue. Trim function works fine in my environment.
Could you please provide more detailed information about the issue?
Diego Garcia at 11/2/2008 4:26:45 AM
-
Just like I said here, I'm trying to just showmessage with a trimed text
ShowMessage(Trim('Some Text'));
The showMessage is returning me the text Some Text whitout remove the space char !
Any tips why this is happening ?
I've updated my delphi yesterday, when it seens to begin this issue ..
Tomohiro Takahashi at 11/2/2008 6:57:28 AM
-
>ShowMessage(Trim('Testing Trim Function'));
What output do you expect with this code?
Diego Garcia at 11/2/2008 7:21:18 AM
-
Sorry Tomohiro my bad I forgot that the Trim Function just removes de leading and trailing blanks :/
Diego Garcia at 11/2/2008 7:25:19 AM
-
It would be nice if delphi have an overloaded version of trim that removes all blanks from an string and not just the leading and trailing ..
Markus Humm at 11/4/2008 12:38:16 AM
-
There's "ReplaceStr" or so from SysUtils.
Diego Garcia at 11/7/2008 10:06:11 AM
-
it would be nice to have an TrimAll Function.
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us