Forum Discussion
deepak198486
Apr 23, 2021Copper Contributor
i am trying to fetch the machine list which does not contain letter " l " in 8th position.
I am trying to fetch the machine list which does not contain letter " l " in 8th position. can i use Kusto regex to achieve this. I only see matches regex command.
GaryBushey
Apr 26, 2021Bronze Contributor
Sorry, forgot the indexof starts its indexed with zero so it would would indexOf(VM,"l",7,1) but in my testing it doesn't seem to be faster.
deepak198486
Apr 26, 2021Copper Contributor
it works but regex is faster
00:01.2-using regex
00:02.7-using indexof
00:01.2-using regex
00:02.7-using indexof