2.1.26.1 cvt_str_to_tag_name


Description

Convert a string to a valid tagname.

Syntax

string cvt_str_to_tag_name( LPCTSTR lpcszStr )

Parameters

lpcszStr
[input] string to be converted

Return

a string suitable to be a tag name.

Examples

EX1

void cvt_str_to_tag_name_ex1()
{
    string strTagName;
    strTagName = cvt_str_to_tag_name("SomeFile&*Important*");
    printf("%s\n", strTagName);
}

Remark

See Also

Header to Include

origin.h

Reference