Jerry Preston wrote: > Hi! > > I know this is a no brainer, but this line of code does not always work: > > last if( /^\n/ or /^\s+\n/ );
last if (/^\s*$/); Out of curiosity, can you post the cases for which your statement did not work? Are these strings with embedded newlines? > > > What am I missing? Is there a better way? > > Thanks, > > Jerry -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]