help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'strutils' (#rtl)

DelSpace1

Reduces sequences of space characters to 1 space character.

Declaration

Source position: strutils.pp line 133

function DelSpace1(

  const S: String

):String;

Arguments

S

  

String to reduce space sequences in.

Function result

Original string with series of maximal 1 space.

Description

DelSpace1 returns a copy of S with all sequences of spaces reduced to 1 space.

Errors

None.

See also

DelChars

  

Delete all occurrences of a given character from a string.

DelSpace

  

Delete all occurrences of a space from a string.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505