nn::ngc::CTR::CountNumbers Function
int CountNumbers(
const wchar_t * pString
);
| Name | Description | |
|---|---|---|
| pString | Specifies the NULL-terminated string that is the target of the [in] check |
Returns the number of numeric characters in the string.
Since telephone numbers and certain other types of personal information take the form of strings that contain many numeric characters, there are restrictions on the number of numeric characters that can be displayed at the same time on the screen when users enter strings. Use this function to get the total number of numeric characters within strings on screen at once to avoid exceeding the restrictions within the UGC Guidelines.
CONFIDENTIAL