| Programming C# C++ (7) Delphi (604) Java (8) JavaScript (55) perl (40) mysql (3) perl CGI (3) php (12) VBScript (1) Visual Basic (1)
|
Trim blank space at the beginning and end of a string
Question: How do I strip blank space from the beginning/end of a string? In other language this is usually called Trim().Answer: The best solution is doing it in two steps (faster than the typical first attempt to do it with one statement.
Comments:
|