Patent ID: 7055155

Claim:
A character string data processing method for passing a first character string from a first object, through an interface object running under control of a computer operating system, to a second object, when an application program is run, the method comprising: casting, in the interface object, the first character string declared as a first data type as a basic string data type, whereby the number of characters including null data in the first character string is countable irrespective of the declared type of the first character string, detecting an effective number of characters in the first character string by analyzing its basic string data type representation, and converting the effective number of characters in the first character string to a second character string that can be passed by the operating system to the second object, without using binary conversion to convert the first character string to a special format; and processing, in the second object, the second character string, which is declared as the first data type, as a basic string data type, irrespective of the declared type of the second character string.