Convert Sentence array into words in batch Script
I have a sentence with words separated by an underscore say
sentence = matt_george_phil
I want to convert the names mentioned in this sentence in an array i.e.
arr[0] = matt
arr[1] = george
arr[2] = phil
I am new to batch Scripting. Can someone please tell how to do it. Thanks.
No comments:
Post a Comment