Obtain the length of a given string.
Obtain the length of a given string.
- Attention
- None.
- Parameters
-
string | [IN] String to obtain the length. |
count | [IN] Maximum length |
- Return values
-
If | the parameter is abnormal, return 0. |
If | the length of a string is greater than the count, return count. Otherwise, the actual length of the string is returned. |