Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default OR statements

Not to be pedantic but len(S1) is preferable to S1<"".

Excel uses what are known as Pascal strings. With Pascal strings, the
length of the string is stored at the beginning of the string. So for
long strings, len() doesn't need to walk the length of the string for
the comparison.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF statements oatjes Excel Discussion (Misc queries) 4 May 30th 08 07:08 PM
IF Statements (Mutliple Statements) Deezel Excel Worksheet Functions 3 October 19th 06 06:13 AM
If Statements Dbettini Excel Discussion (Misc queries) 1 March 22nd 06 06:22 PM
If... Then statements BaldySlaphead Excel Discussion (Misc queries) 1 March 21st 06 11:53 AM
using if statements LAybar Excel Worksheet Functions 4 March 20th 06 02:55 PM


All times are GMT +1. The time now is 11:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"