Left

Format

left( string, length)

Description

Returns a portion of the specified string, starting from the first character on the left and continuing for length characters.

See Also

Example

print left("Hello", 2)

will display

He

New To Version

0.9.5b

 
fr/left.txt · Last modified: 2010/09/05 17:27 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki