For the optional 'Format' parameter, three possible values are mentioned.Syntax
Result = StringByteLength(String$ [, Format])
But it is not explained which of them the default value is, if this parameter is omitted when calling StringByteLength().
According to the following code
Code: Select all
; PB 6.30
Debug StringByteLength("abc") ; -> 6
Debug StringByteLength("abc", #PB_Unicode) ; -> 6
Debug StringByteLength("abc", #PB_Ascii) ; -> 3
Debug StringByteLength("abc", #PB_UTF8) ; -> 3However, this should be documented in the help.
