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, ∼3030🔥, 0💬
Popular Posts:
Where to find tutorials on Apache JMeter test tool? I want to know how to use Apache JMeter. Here is...
How to generate test phone numbers for US and Canada? Test phone numbers are frequently needed in te...
How to generate IP Addresses? To help you to obtain some IP addresses for testing purpose, FYIcenter...
How to see my IP address Host Name? To help you to see your IP Address Host Name, FYIcenter.com has ...
How to generate email addresses? To help you to obtain some email addresses for testing purpose, FYI...