- How to split string using batch script?
SET java_path="C:\Program Files\Java\jdk1.6.0_31"
above is my string, i want only "C:\Program Files" from java_path. how to get it?
above is my string, i want only "C:\Program Files" from java_path. how to get it? |
|||
|
You may split strings by character position:
or by splitting at specific characters:
| |||
|