Phantasmal Site > Phantasmal API > API Listing > string_has_char
API Function: string_has_char
- Summary:
- return whether a string contains a particular
character.
- Defined In LPC Object:
- /usr/common/sys/stringd.c
- Prototype:
- int string_has_char(int char, string str)
- Can Be Called By:
- Anybody
- Description:
-
Returns true if and only if the string contains the given character.
- Return Value:
-
1 for true, 0 for false.
- Errors:
- Normally none.
- See Also:
- is_whitespace ,
is_alpha ,
is_alphanum ,
is_ident
|