Manage Learn to apply best practices and optimize your operations.

Lotusscript Version Of @Name([Address821])

On a recent project I was writeing some code for use with Lotus Enterprise
Solution Builder. unfortuantely ESB does not support any Formula Language, i.e.
Not evaluate statements so I has to write a script version of the
@Name([Address821]) function.
Function RFC821(email As String) As String
ckInetMail = Instr(email, "@")
If ckInetMail <> 0 Then
tmp = Right(email,1)
sz = Len(email)
If tmp = ">" Then
a = Left(email, sz -1)
b = Instr(email, "<")
c = sz - (b+1)
RFC821 = Right(a, c)

Else
RFC821 = email
End If
Else
RFC821 = "Invalid"
End If
End Function

Dig Deeper on LotusScript

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close