User Tools

Site Tools


en:mid

Differences

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

Link to this comparison view

en:mid [2016/08/12 12:56]
admin
en:mid [2020/02/28 10:46]
Line 1: Line 1:
-===== Mid (Function) ===== 
-==== Format ==== 
-**mid**( [[stringexpressions|string_expression]], //start_expr//, //length_expr//) 
  
-returns //[[stringexpressions|string_expression]] 
- 
-==== Description ==== 
-Returns a portion of the specified [[stringexpressions|string_expression]], starting from the //start character//, and continuing for //length// characters or the end of the [[stringexpressions|string_expression]]. 
- 
- 
-==== Example ==== 
-<code> 
-print mid("Hello", 2, 3) 
-print mid("Hello", 2, 999) 
-</code> 
-will display 
-<code> 
-ell 
-ello 
-</code> 
- 
-==== See Also ==== 
-{{page>en:start#String Handling&noheader}} 
en/mid.txt ยท Last modified: 2020/02/28 10:46 (external edit)