Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VbScript Object? String Manipualtion?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00682018
Message ID:
00682042
Vues:
19
Thanks George


>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform