当前位置: 动力学知识库 > 问答 > 编程问答 >

rename - VBScript: Trim characters from left of folder names

问题描述:

I would like to trim an x amount of characters from the left of multiple folders.

Imagine having these folder names:

01.a-foldername

02.b-foldername

03.c-foldername

After being processed by the VBscript they become:

a-foldername

b-foldername

c-foldername

网友答案:

Use Mid:

Mid(string,start[,length])

So in your example above

Mid(4)

Of interest: VBScript Functions

分享给朋友:
您可能感兴趣的文章:
随机阅读: