UTIL StripToken: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page.)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
A [[UTIL]] function copies the <code>*pKey</code> string to <code>*pDest</code> until it hits a null or hashtag (#) character. It is meant for redundant keynames.{{clarify}}
{{lang|UTIL StripToken|title=<code>UTIL_StripToken</code>}}
{{ent|UTIL_StripToken}} is a [[UTIL]] function copies the <code>*pKey</code> string to <code>*pDest</code> until it finds a null or hashtag (#) character. {{ent|UTIL_StripToken}} is meant for redundant keynames.{{clarify}}


==Usage==
==Declaration==
<source lang=cpp>
<source lang=cpp>
void UTIL_StripToken( const char *pKey, char *pDest )
void UTIL_StripToken( const char *pKey, char *pDest );
</source>
</source>


==Examples==
==Examples==
{{todo|Add examples.}}
{{todo|Add examples.}}
[[Category:Programming]]
[[Category:UTIL]]

Latest revision as of 18:25, 3 November 2021

English (en)Translate (Translate)

UTIL_StripToken is a UTIL function copies the *pKey string to *pDest until it finds a null or hashtag (#) character. UTIL_StripToken is meant for redundant keynames.[Clarify]

Declaration

void UTIL_StripToken( const char *pKey, char *pDest );

Examples

Todo: Add examples.