"Scott Erickson" <[EMAIL PROTECTED]> a �crit dans le message de news: [EMAIL PROTECTED] > Ben, > when i looked at the values of what sizeof() and strlen() returned on > was 34 the other was 33 respectively (0x0022, 0x0021). >
sizeof() returns the size of a variable or type in bytes and StrLen () Compute the length of a string. Char strString[20]; StrPrintF(strString,"1234"); sizeof(strString) will always return 20. It is the size of the variable. StrLen(strString) will return 4 in my example. It is the length of the string inside the variable. -- Regis St-Gelais www.laubrass.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
