Substring

I have a field store a value " Thursday, May 12, 2005" . I want to get word Thursday, what method should i use in lotus script.

Subject: Substring

Plenty of options, one is split:

i.e.

dateComponentsArray = split(doc.mydatefield(0),“,”)

theDay = trim$(dateComponentsArray(0))

HTH - Rufus.