| Quintiq file version 2.0 | 
| #parent: #root | 
| Method PTF_GetInfoFromResultLogPath ( | 
|   output String username_o, | 
|   output String clientid_o, | 
|   String resultlogfullpath | 
| ) id:Method_LibPTF_pnlTestController_PTF_GetInfoFromResultLogPath | 
| { | 
|   #keys: '[103546.0.100486980]' | 
|   Body: | 
|   [* | 
|     // Retrieve the username and client id information from the result files | 
|     resultlogfullpath := resultlogfullpath.ReplaceAll( "/", "\" ); | 
|     splitbyslash    := resultlogfullpath.Normalize().Tokenize( "\" ); | 
|     filename        := splitbyslash.Element( splitbyslash.Size() - 1 ); | 
|      | 
|     sepbydot        := filename.Tokenize( "." ); | 
|     userandclientid := sepbydot.Element( 0 ); | 
|      | 
|     sepbyunderscore := userandclientid.Tokenize( "_" ); | 
|     clientid_o      := sepbyunderscore.Element( sepbyunderscore.Size() - 1 ); | 
|     username_o      := userandclientid.SubString( 0, userandclientid.Length() - clientid_o.Length() - 1 ); | 
|   *] | 
| } |