Project

General

Profile

$left » History » Version 6

Per Amundsen, 02/23/2023 04:24 PM

1 1 Per Amundsen
_Added in 1.8.10_
2
3
*$left*
4
5
Returns duration left of the currently playing song in XX:XX format.
6
7
_Only works if Media Player is set to iTunes/MediaMonkey/Winamp and proper plugins are installed._
8 2 Per Amundsen
9 5 Per Amundsen
-----------------------------------------------------------------------------
10
11 2 Per Amundsen
_Added in 1.9.0_
12
13
*$left(text,N)*
14
15
Returns the N left characters of text.
16
17
*Parameters*
18
19 6 Per Amundsen
table(ktable).
20
|*Parameter*|*Description*|
21
| text | Text to substring. |
22
| N | The Nth characters to substring by. |
23 3 Per Amundsen
24
*Example*
25
26
<pre>
27
; Get the left 5 characters from 'Hello World'.
28
//echo -ag $left(Hello World,5)
29
</pre>