User Tools

Site Tools


en:mid

This is an old revision of the document!


Mid (Function)

Format

mid( string_expression, start_expr, length_expr)

returns string_expression ==== Description ==== Returns a portion of the specified string_expression, starting from the start character, and continuing for length characters or the end of the string_expression. ==== Example ==== <code> print mid(“Hello”, 2, 3) print mid(“Hello”, 2, 999) </code> will display <code> ell ello </code> ==== See Also ====

en/mid.1471028182.txt.gz · Last modified: 2020/02/28 10:46 (external edit)