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, 2585🔥, 0💬
Popular Posts:
Where to find test data generators? FYIcenter.com has prepared a number of test data generators for ...
How to find out my browser request headers? To help you to see your browser request headers, FYIcent...
How to generate IPv6 Addresses? To help you to obtain some IPv6 addresses for testing purpose, FYIce...
How to perform regular expression pattern match with multiple occurrences? To perform a regular expr...
How to generate test credit card numbers? Test credit card numbers are frequently needed in testing ...