User Tools

Site Tools


en:left

Differences

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

Link to this comparison view

en:left [2016/08/04 09:10]
admin
en:left [2020/02/28 10:46]
Line 1: Line 1:
-===== Left (Function) ===== 
-==== Format ==== 
-left( //string_expr//, //length//) 
- 
-returns //string_value// 
- 
-==== Description ==== 
-If length is greater than or equal to zero, returns a portion of the specified //string_expr//, starting from the first character on the left and continuing for //length// characters. If length is less than zero then remove //length// characters from the left of the string. 
- 
-==== Example ==== 
-<code> 
-print left("Hello", 2) 
-print left("Hello", -2) 
-</code> 
-will display 
-<code> 
-He 
-llo 
-</code> 
- 
-==== See Also ==== 
-{{page>en:start#String Handling&noheader}} 
- 
-==== History ====  
-|0.9.5b|New To Version| 
-|1.99.99.53|Added length < 0| 
  
en/left.txt ยท Last modified: 2020/02/28 10:46 (external edit)