ltrim

Trims all leading whitespace from the input.

Example:

    <$mt:EntryTitle ltrim="1"$>
This page was last updated on 2008-04-14, 23:55.

2 Notes

How to use ltrim?

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.

Leave a note

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.