FutureBasic Logo

<<    Index    >> FutureBasic

len, len$   function



Syntax
length = len( cfString | otherObject )
stringLength = len$( pascalString | container$$ )

Description
This function returns the length of a cfString, pascalString or container$$.

len can also be used with objects that respond to 'length' or 'count'. For example:

length = len( aString ) // same as AttributedStringLength( aString )
length = len( dta ) // same as DataLength( dta )
length = len( idxPath ) // same as IndexPathLength( idxPath )
count = len( array ) // same as ArrayCount( array )
count = len( dict ) // same as DictionaryCount( dict )
count = len( set ) // same as SetCount( set )
count = len( idxSet ) // same as IndexSetCount( idxSet )

Notes
See also
sizeof