AT&T Home | AT&T Labs | Research
AT&T Labs, Inc. - Research

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YDAT | YWAIT | Byzgraf | FAQs
strdel (String str, int len) yoix.string
 
Deletes characters from the start of the null-terminated string str, stopping at the null character or after len characters have been removed. The original string, albeit shortened, is returned.
 
 Example:   The program,
import yoix.stdio.*;
import yoix.string.*;

String  str = "This is not a good example.";

strdel(str + 8, 4);
puts(str);
prints
This is a good example.
on standard output.
 
 Return:   String
 
 See Also:   strcasecmp, strcat, strchr, strcmp, strcpy, strcspn, strdup, strfmt, strins, strjoin, strlen, strncasecmp, strncat, strncmp, strncpy, strpbrk, strrchr, strrstr, strsplit, strspn, strstr, strtok

 

Yoix is a registered trademark of AT&T Intellectual Property.