strchr Function (ROM Call 0x274)

string.h

char *strchr (const char *str, short c);

Finds c in str.

strchr scans a string in the forward direction, looking for a specific character. strchr finds the first occurrence of the character c in the string str. The null-terminator is considered to be part of the string, so that, for example,

strchr (s, 0)
returns a pointer to the terminating null character of the string s. Returns a pointer to the first occurrence of the character c in str. If c does not occur in str, strchr returns NULL.


Used by: VarOpen, index_below_display_expression_aux, Parse1DExpr, TokenizeSymName, handleRclKey, handleVarLinkKey, KeyYesOrNo, push_user_func, EM_moveSymToExtMem, FolderDel, FolderRename, HSymDel, SymFindFolderName