[Top] [Prev] [Next] [Bottom] [Contents]

SaAnchStringToPieceList

Breaks an anchor string into 4 substrings contained in an Sut List. Free the return value with SutDestroyList.

Synopsis

#include "SaRnHtml.h"
pSutList SaAnchStringToPieceList SUTPROTO((char *inptr));

Arguments

The pointer to a string to examine.

Return Values

Returns an SutList of anchor pieces or NULL if the string cannot be parsed into pieces.

Description

Breaks an anchor string into 4 substrings contained in an Sut List. Free the return value with SutDestroyList.

Example

char* str;
char* anch
pSutList list;

str = SaGetCurrentPtr();
if(str)
{
	anch = SaGetCurrentAnchString(str);
	if(anch != NULL)
	{
		/*** process anchor string ***/
		list = SaAnchStringToPieceList(anch);
		SutDestroyList(list);
		free(anch);
	}
}

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.