Liberty BASIC Help Online

LEN( s$ )
LEN( string )
LEN( structName.struct )
This function returns the length in characters of string, which can be any valid string expression. It also returns the size of a struct.
  prompt "What is your name?"; yourName$
  print "Your name is "; len(yourName$); " letters long"
  struct person, name$ as ptr, age as long
  print len(person.struct)

Copyright (C) 2003 Shoptalk Systems
Liberty BASIC -