Project

General

Profile

$left » History » Version 7

Per Amundsen, 02/23/2023 05:14 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 7 Per Amundsen
_See also [[$right]], [[$mid]]._
18
19 2 Per Amundsen
*Parameters*
20
21 6 Per Amundsen
table(ktable).
22
|*Parameter*|*Description*|
23
| text | Text to substring. |
24
| N | The Nth characters to substring by. |
25 3 Per Amundsen
26
*Example*
27
28
<pre>
29
; Get the left 5 characters from 'Hello World'.
30
//echo -ag $left(Hello World,5)
31
</pre>