New tag %ss() which lets you get a substring of another tag.
commit3b9ffd28da4d2af023e6a77ab1d6ee683f90ef6b
authorJonathan Gordon <rockbox@jdgordon.info>
Sun, 11 Sep 2011 01:50:06 +0000 (11 01:50 +0000)
committerJonathan Gordon <rockbox@jdgordon.info>
Sun, 11 Sep 2011 01:50:06 +0000 (11 01:50 +0000)
treed779dd815acee6218e59e96329916114dcdf9ecd
parent86c543216f13c1171eefd6dd8116855a7fa9c4bd
New tag %ss() which lets you get a substring of another tag.
%ss(start, length, tag) - i.e %ss(0,1,%TL) will get the first letter of the current lines text.
use - for the length to get the rest of the tag (e.g %ss(1,-,%TL) will get everything after the first letter).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30500 a1c6a512-1295-4272-9138-f99709370657
apps/gui/skin_engine/skin_parser.c
apps/gui/skin_engine/skin_tokens.c
apps/gui/skin_engine/wps_internals.h
lib/skin_parser/tag_table.c
lib/skin_parser/tag_table.h