size_t ULValue::GetStringLength( bool fetch_as_chars )
fetch_as_chars False for byte length, true for char length.
Gets the length of a String.
Intended usage is as follows:
len = v.GetStringLength();
dst = new char[ len + 1 ];
( dst, len + 1 ); GetString
|
For wide character applications the usage is:
len = v.GetStringLength( true ); dst = new ul_wchar[ len + 1 ]; ( dst, len + 1 ); GetString |
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |