Software >> OS >> OpenVMS >> DCL >> How to split a string

$ daylist = "mon/tue/wed/thu/fri/sat/sun" $ firstday = f$element(0,"/",daylist)