>oWsh = CREATEOBJECT("wscript.shell")
>owsnet=CreateObject("WScript.Network")
>owsfs=CreateObject("Scripting.FileSystemObject")
>
>I have been playing around with the above WSH objects but I can not find any commands for string manipulation (I may need these for running scripts outside of VFP)
>
>Is there another object I am missing that can do this.
>
>Is there one called vbscript maybe. ie.
>
>oVbs= CREATEOBJECT("vbscript.shell")
>
>that allows
>
>myvar=oVbs.left(mvar,10)
>
>or something similar? I suspect I am missing the point here somewhere:)
>
>Many Thanks
Within a VBScript itself, there are functions such as Left(), Right(), Mid(), and so on. A good place to start would be the MSDN Library. There's a lot of examples within it. Beyond that, I'd recommend the "Windows Script Host Programmers Reference" by Dino Esposito from Wrox Press. The later contains a reference the the VBScript commands, functions and constants.
George
Ubi caritas et amor, deus ibi est