|
|
|
Подскажите как написать цикл в Powershell
|
|||
|---|---|---|---|
|
#18+
Есть файлик IPC||Connect_Rep1 IPC||Connect_Rep2 Командой $string = $string.Substring ($string.lastIndexOf(‘|’) вырезаю Connect_Rep1 Если одна строка работает , для двух строк в цикле пытаюсь сделать foreach не работает Подскажите как написать правильно Foreach ($line in $string ) ($string = $string.Substring ($string.lastIndexOf(‘|’) } echo $string Модератор: Тема перенесена из форума "ASP.NET". ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.06.2019, 11:17 |
|
||
|
|

start [/forum/topic.php?fid=26&fpage=14&tid=1492424]: |
0ms |
get settings: |
9ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
141ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
25ms |
get tp. blocked users: |
1ms |
| others: | 253ms |
| total: | 461ms |

| 0 / 0 |
