code vault - strlastWhat links here?

Code

//##############################################################################
// copy the last n characters from the source string to the
// destination string
//##############################################################################


void strlast(int n, char *source, char *dest) { int i, j, s; s = strlen(source) - n; if (n < 0) s = 0;

for (i = s, j = 0; i < strlen(source); i++, j++) { dest[j] = source[i]; } dest[j] = '\0'; }
code vault - strlast
AutoCAD - Visual LISP
AutoCAD Entity Definitions - style
AutoCAD Entity Definitions - line
filename:code vault - strlast
filename:code%20vault%20%2D%20strlast
last edit:March 26 2009 19:58:22 (-2097034 minutes ago)
ct = 1112289804.000000 = March 31 2005 12:23:24
ft = 1238111902.000000 = March 26 2009 19:58:22
dt = -125822098.000000