how can I clean this string from
html += "src='https://text1.com/text2/text3-text4/text5.txt'";
to
https://text1.com/text2/text3-text4/text5.txt
Thank in advance
html += "src='https://text1.com/text2/text3-text4/text5.txt'";
https://text1.com/text2/text3-text4/text5.txt
Code: Select all
set str=teh cat in teh hat
echo.%str%
set str=%str:teh=the%
echo.%str%
Code: Select all
for %%a in ('command') do (
set MYVAR= %MYVAR%
set MYVAR=%a%%MYVAR%
set MYVAR=%MYVAR:~-40%
)
Code: Select all
tr -d "\n"
Code: Select all
for /f %%A in ('tail -n1 C:\Meniscus\Data\cc_debug.txt ^| tr -d "\n"') do (
for /f %%a in ('dir /b') do (
set variable=%%a:~0,2
echo !variable!
)
Code: Select all
for /f %%a in ('dir /b') do echo %%a:~0,2
Code: Select all
@echo off
for /f "delims=" %%a in ('dir /b *.*') do (
echo %time%
)