User Tools

Site Tools


syntax:functions:trimstart

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:trimstart [2015/01/31 16:05] – created dmitrysyntax:functions:trimstart [2020/07/29 04:33] dmitry
Line 1: Line 1:
 ===== TrimStart(text) ===== ===== TrimStart(text) =====
  
-Trims leading spaces from //text//. Trailing spaces will be preserved, if any.+Trims off leading spaces from //text//. Trailing spaces will be preserved
 + 
 +Besides spaces it also removes other white-space characters such as tabulationform feed, etc. [[https://docs.microsoft.com/en-us/dotnet/api/system.char.iswhitespace?view=netcore-3.1#remarks|The full list of removed white-space characters]]. 
 + 
 +^  Example  ^  Result 
 +|  trim(' Columbia'   Columbia  |
  
 **See also** **See also**
   * [[syntax:functions:trim]]   * [[syntax:functions:trim]]
   * [[syntax:functions:trimend]]   * [[syntax:functions:trimend]]
syntax/functions/trimstart.txt · Last modified: 2021/08/11 15:20 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki