NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Len Function

Returns a Long containing the number of characters in a string or the number of bytes required to store a variable.

Len(string | varname)

Arguments

string
Any valid string expression.
Varname
Any valid variable name. If varname is an Object, Len treats it the same as a String and always returns the number of characters it contains.

Remarks

One (and only one) of the two possible arguments must be specified. With user-defined types, Len returns the size as it will be written to the file.

Note   Len may not be able to determine the actual number of storage bytes required when used with variable-length strings in user-defined data types.

See Also

Example

Data Type Summary | InStr Function