Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - C and C++ Programming » UltraLite C++ API Reference » ULValue class

GetString function Next Page

GetStringLength function


Synopsis

size_t ULValue::GetStringLength(
bool fetch_as_chars
)

Parameters
Remarks

Gets the length of a String.

Intended usage is as follows:

          len = v.GetStringLength();
          dst = new char[ len ];
          ( dst, len ); GetString

For wide character apps the usage is:

          len = v.GetStringLength( true );
          dst = new ul_wchar[ len ];
          ( dst, len ); GetString

Returns