for example
$dll(cut,abc123,2,4) can display character form second character, length=4
result on display = bc12
Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases
text cuting plugin needed
Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo
-
- Posts: 28
- Joined: March 29th, 2005, 1:51 pm
It cuts text from a line, as you can see in the example:Klysner wrote:Sorry, but what does this plugin do?
So it takes the line 'abc123' and the only displays the 2nd until 4 letters later (until the 6th letter).$dll(cut.dll,1,2#4,abc123)
returns bc12
so it does: abc12c (and only shows the bold letters)
Hope you get it

-
- Plugin Author
- Posts: 201
- Joined: April 6th, 2005, 12:59 am
- Location: Canada
- Contact:
It can be used to shorten a long text. Take my cpu name for instance when I use the $CPUType variable it displays on my LCD "AMD Athlon(tm) processor". However all I need is "AMD Athlon" so I would use the plugin to take only the first 10 charracters of the variable. you can use it to integrate in another plugin if you need to cut a part of the returned text like this $dll(cut.dll,1,2#5,$dll(pluing.dll,1,param1,param2))
Use your imagination
Use your imagination
