Parse Between
Query
\\Example that uses the Parse operator to generate a column of data from between specific strings. Return value is "Microsoft System Center"
print input = 'C:\\Program Files\\Microsoft System Center\\Server\\Microsoft.Mom.Sdk.ServiceHost.exe'
| parse input with * "s\\" Process_Host_Name "\\S" *Explanation
The query uses the Parse operator to extract a specific string from a given input. In this case, it looks for the string "Microsoft System Center" between two specific strings. The return value is "Microsoft System Center".
Details

Rod Trent
Released: August 12, 2022
Tables
No table name is mentioned in the given query.
Keywords
ParseMicrosoft System CenterProcess_Host_Name
Operators
printinput='C:\\Program Files\\Microsoft System Center\\Server\\Microsoft.Mom.Sdk.ServiceHost.exe'|parsewith*"s\\"Process_Host_Name"\\S".