afc_stringnode_split

Name

afc_stringnode_split  -- Splits a string

Synopsis

int afc_stringnode_split ( StringNode * sn, char * string, char * delimiters );

Description

This function splits the string. You can specify one or more delimiters in one single string and the splitter will create the smallest part of them. Once the split is done, you can access the items usign afc_stringnodeitem() afc_stringnode_first() afc_stringnode_succ() and so on, because the fields are stored inside an AFC StringNode.

Inputs

sn

A pointer to a valid StringNode instance

string

The string to split in pieces

delimiters

All delimiters that the splitter must take care of.

Result

Note

See Also