delphi programming forums mysql charset mget recursive synonimos
free ventrilo servers hosting cs javascript delay python find in list
Back Forum New
abstract:

I've tried a few different ways of doing it, but all of them fail...
Note: There could be any number of spaces at the front of the word.
Thanks!
Regards, Matt.


Hi!
Does anyone know how the following could be completed in Delphi:
Accept a string, could be like: "  Hello, World!"
How would I remove the first spaces? To just leave "Hello, World!"
I've tried a few different ways of doing it, but all of them fail...
Note: There could be any number of spaces at the front of the word.
Thanks!
Regards, Matt.

TOP

Look up the Trim function.

TOP


Originally Posted by clivew
Look up the Trim function.
Thanks!!! Just what I was looking for!!!!!!!!!!
Thanks again!
Regards, Matt.



I've tried a few different ways of doing it, but all of them fail...
Note: There could be any number of spaces at the front of the word.
Thanks!
Regards, Matt.

TOP

Back Forum