小编Dee*_*rma的帖子

如何在 Windows 批处理文件中搜索子字符串的索引

我想tenantDomain org_id在批处理文件中按照以下示例字符串中所述进行搜索。

<ax2697:tenantDomain>org_12345678
Run Code Online (Sandbox Code Playgroud)

ax2697总是动态的,我需要org_12345678在批处理文件中检索字符串。

可能需要 2 个操作。

  1. 获取“tenantDomain>”的索引
  2. 从索引中检索 org_12345678。

我在论坛上看不到任何有希望的解决方案。
请建议。

windows batch-file

-2
推荐指数
1
解决办法
6401
查看次数

标签 统计

batch-file ×1

windows ×1