ltrim
Trims all leading whitespace from the input.
Example:
<$mt:EntryTitle ltrim="1"$>
This page was last updated on 2008-04-14, 23:55.
Trims all leading whitespace from the input.
Example:
<$mt:EntryTitle ltrim="1"$>
Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.
Copyright 2007-2012 Six Apart Ltd. All content licensed under Creative Commons Attribution-Share Alike 3.0 Unported License.
Kai
January 9, 2008 11:48 AM | Reply
How to use ltrim?
MtFan
January 16, 2010 6:15 PM | Reply
For example, if you have an EntryTitle like " THE BEST WAY TO MAKE MONEY ON THE INTERWEBS ", then when using:
it will output the following: "THE BEST WAY TO MAKE MONEY ON THE INTERWEBS " As you can see, the white spaces to the left of the string were removed. That is what ltrim does.