In practice programming, when a character string at the specified position of the characteratindex index is encountered (returns the Unicode char type). If it is a Chinese character, it is customary to use % C, % S. It can only display Unicode numbers, the Chinese characters cannot be correctly displayed. % C, (c Capital) is required for the result ). special record for long memory.
// The nslog format is as follows. Of course, the format of [nsstring stringwithformat:] is the same.
//
% @ Object
% D, % I integer
% U unsigned integer
% F floating point/double-Character
% X, % x binary integer
% O octal integer
% Zu size_t
% P pointer
% E floating point/double-character (Scientific Computing)
% G floating point/double-Character
% S c string
%. * S Pascal string
% C characters
% C unichar
% LLD 64-bit long integer (long)
% LlU unsigned 64-bit long integer
% Lf 64-bit dual-Character
//