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, ∼3036🔥, 0💬
Popular Posts:
How to generate user full names? Test user names are frequently needed in testing applications that ...
How to valid IP addresses? In order to help your programming or testing tasks, FYIcenter.com has des...
Where to find tutorials on UFT (Unified Functional Testing) tool? I want to know how to use UFT. Her...
How to generate date and time test values? Timestamp values are frequently needed in testing almost ...
How to validate domain name format? In order to help your programming or testing tasks, FYIcenter.co...