Re: comparing sequences

new topic     » topic index » view thread      » older message » newer message

David Cuny wrote:

> which is sometimes abbreviated to:
>
>    if not length( s ) then ...

Ooops. The full text should have been:

To check for an empty string, you can write:

   if length( s ) = 0

which is sometimes abbreviated to:

   if not length( s )

-- David Cuny

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu