skip to main | skip to sidebar

Lotus Domino

Sunday, November 2, 2008

LotusScript equivalents for the @Left

Function LeftOf (sourceString As String, searchString As String) As String
'LotusScript equivalents for the @Left
pos% = Instr(sourceString, searchString)
If pos% > 0 Then pos% = pos% -1
LeftOf = Left(sourceString, pos%)
End Function
Posted by Lotus Domino at 5:33 PM

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2010 (1)
    • ►  March (1)
  • ▼  2008 (21)
    • ►  December (1)
    • ▼  November (14)
      • LotusScript equivalents for the @URLDecode
      • LotusScript equivalents for the @URLEncode
      • LotusScript equivalents for the @ProperCase
      • LotusScript equivalents for the @ReplaceSubstring
      • LotusScript equivalents for the @Elements
      • LotusScript equivalents for the @Replace
      • LotusScript equivalents for the @Picklist
      • LotusScript equivalents for the @Dbcolumn
      • LotusScript equivalents for the @Leftback
      • LotusScript equivalents for the @RightBack
      • LotusScript equivalents for the @Ends
      • LotusScript equivalents for the @Begins
      • LotusScript equivalents for the @Left
      • LotusScript equivalents for the @Right
    • ►  October (6)

About Me

Lotus Domino
View my complete profile