Have a mind block here, can someone help please?
As per code snip below, trying to pass the location in a string to substr as a variable.
What is the correct syntax to do this?
FoundPos := InStr(A_LoopReadLine, ".sea")
FoundPos += 3
SubStr(result, 1, FoundPos)
Thanks
Pass a variable to Substr
Re: Pass a variable to Substr
Documentation
NewStr := SubStr(String, StartingPos , Length)
Code: Select all
SubStr(result, FoundPos)
Re: Pass a variable to Substr
Thanks will have a play.
Who is online
Users browsing this forum: Bing [Bot] and 364 guests