Collections:
Substring of Windows Environment Variable
How to Get a Substring of a Windows Environment Variable? I need to pass a part of the variable value to JMeter.
✍: FYIcenter.com
You can Get a Substring of a Windows Environment Variable by following this tutorial.
If you want to a substring of a Windows Environment Variable value, use the following syntax:
%varname:~start,length"
Try example commands listed below:
\fyicenter>echo %os% Windows_NT \fyicenter>echo %os:~0,7% Windows \fyicenter>echo %os:~8,2% NT \fyicenter>echo %os:~0,7% with %number_of_processors% processors Windows with 4 processors
⇒ Windows Command to Aggregate Files
⇐ Pass Windows Environment Variable to JMeter
2017-12-04, 2218🔥, 0💬
Popular Posts:
How to expand IPv6 addresses? In order to help your programming or testing tasks, FYIcenter.com has ...
Where to find online test tools? FYIcenter.com has prepared a number of online test tools: Data Look...
How to turn on Chrome WebDriver logging with Selenium Python API? If you want to turn on logging on ...
How to use HTTP protocol to post an XML message to a server? You can follow this tutorial to post an...
What are JMeter command line options? You can get see JMeter command line options by running this co...