/*------------------------------------------------------------------- xtriml(string,n) trims off n chars on left of string -------------------------------------------------------------------*/ char *xtriml(char *x, int xn){ char *xret = ""; int xlth; int nlth; int xsp; xlth = strlen(x); if(xn < 1) return(x); if(xn == xlth) return(xret); if(xn > xlth) return(xret); nlth = xlth - xn; xsp = xn + 1; xret = strgetsubstr(x,xsp,nlth); return(xret); }//xtriml