Thank you very much I will test it.
If you have time to answer a question I would appreciate it. I have only done simple programming in the past and just started to get in to stuff using arrays. I did the code below to try to solve my problem and it didn't work. If you have time could you tell me why?
$string = "hello there world"
$split = Split($string, " ")
For Each $i in $split
$i = UCase(Left($i, 1)) + Right($i, Len($i) - 1)
Next
$string = Join($split[$i], " ")

Thanks again.