user warning: Table './zuggsoftdb/accesslog' is marked as crashed and should be repaired query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('', 'node/713', '', '38.107.179.243', 0, 'p9hsf3bgjdo5ftg4qbk7n6hpq6', 37543, 1337600976) in /home/tessh/public_html/modules/statistics/statistics.module on line 64.

Documentation

right

Syntax: %right(string,fromleft)

return the rightmost part of string starting at the fromleft position (the first character is position 1)

Examples:

#SHOW %left("abcdef",2)
displays: ab

#SHOW %right("abcdef",2)
displays: cdef

#SHOW %leftback("abcdef",2)
displays: abcd

#SHOW %rightback("abcdef",2)
displays: ef

memory aid:

%left(anystring,anynumber) plus %right(anystring,anynumber) is "anystring"

%leftback(anystring,anynumber) plus %rightback(anystring,anynumber) is "anystring"

Add comment

Login or register to post comments