Jump to content
Sign in to follow this  
caramen

How to remove a part of a returned value ?

Recommended Posts

Hi all

How to remove a part of a returned value ?

The value will be some like C:PROGRA~1COMMON~1SYMANT~1VIRUSD~120090907.050

I need only this: 20090907.050

if you need the code just say me but it s not needed i guess

It is only a part of code with a regread and the returned value is here so...

Thx guys

For help you to understand i give you my logic:

RegRead: OK

$Value = C:PROGRA~1COMMON~1SYMANT~1VIRUSD~120090907.050

$Result= (C:PROGRA~1COMMON~1SYMANT~1VIRUSD~120090907.050) - (C:PROGRA~1COMMON~1SYMANT~1VIRUSD~1)

$result= 20090907.050

GuiCtrlSetData ($ID1 , ""&$Result)

 

How can i get the result  ?

Edited by caramen

My video tutorials : HERE ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

Working like a charme :)

Thx

 
;Detection de la definition virus   
;Decoupage du resultat   
Local $Split = StringSplit($Reg3,"\")   
Local $Resulta = $Split [$Split[0]]   
GUICtrlSetData ($ScanSEPDEF , "Def. SEP: "&$Resulta)
Edited by caramen

My video tutorials : HERE ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...