Honest I've searched for this - perhaps it is to simple. How do you get multiple returns from one function? The Help talks of returns (plural)... Below works giving me the (19 September 2012) but I also want 1909 being $arraydown[1] & $arraydown[2]
Thanking whomever,
jury
Thanking whomever,
jury
[ autoit ]
#include $TitleDate = TitleDate('19/09/2012') ConsoleWrite($TitleDate & @CRLF) Func TitleDate($value) $arraydown = StringSplit($value, "/", 0) $arraydown[2] = _DateToMonth($arraydown[2]) $value = '(' & $arraydown[1] & " " & $arraydown[2] & " " & $arraydown[3] & ')' Return $value EndFunc