0

I am looking for a wild card character which could be used to trim or replace a matching string in KUSTO.

A simple example:

let string_to_trim = @"https://bing.com"; let substring = ".com"; // ---> Need a wildcard to use like let substring = ".{wildcard char}";

print string_to_trim = string_to_trim, trimmed_string = trim(substring,string_to_trim)

Result: https://bing

supc
  • 13
  • 1
  • 5

1 Answers1

1

Looks like you are looking for the parse operator

for example:

datatable(url:string)["https://bing.com"]
| parse url with Domain "." Extension 
Avnera
  • 7,088
  • 9
  • 14