Project

General

Profile

$left » History » Revision 6

Revision 5 (Per Amundsen, 08/11/2015 09:45 AM) → Revision 6/7 (Per Amundsen, 02/23/2023 04:24 PM)

_Added in 1.8.10_ 

 *$left* 

 Returns duration left of the currently playing song in XX:XX format. 

 _Only works if Media Player is set to iTunes/MediaMonkey/Winamp and proper plugins are installed._ 

 ----------------------------------------------------------------------------- 

 _Added in 1.9.0_ 

 *$left(text,N)* 

 Returns the N left characters of text. 

 *Parameters* 

 table(ktable). 
 |*Parameter*|*Description*| 
 | text | - Text to substring. | 
 | N | - The Nth characters to substring by. | 

 *Example* 

 <pre> 
 ; Get the left 5 characters from 'Hello World'. 
 //echo -ag $left(Hello World,5) 
 </pre>