anchor.diff:  %RETURN%
   
   :#----------------------------------------------------------------------------#
  +
  +:strchr stringVar charVar indexVar      -- returns the index of char in a string
  +setlocal EnableDelayedExpansion
  +set "C0=!%~2!"
  +set "I=0"
  +:strchr.loop
  +set "C=!%~1:~%I%,1!"
  +if not defined C set "I=-1" & goto :strchr.exit
  +if not "%C%%C%"=="%C0%%C0%" set /a "I+=1" & goto :strchr.loop
  +:strchr.exit
  +endlocal & if "%~3" neq "" set "%~3=%I%"
  +exit /b
  +
  +:#----------------------------------------------------------------------------#
  +
  +:streq string1Var string2Var
  +setlocal EnableDelayedExpansion
  +if "!%~1!"=="!%~2!" endlocal & exit /b 0
  +endlocal & exit /b 1
  +
  +:#----------------------------------------------------------------------------#
  +
  +:strstr stringVar substrVar indexVar    -- returns the index of a substring in a string
  +setlocal EnableDelayedExpansion
  +%ECHO.D% call %0 %*
  +call :strlen %1 L1
  +call :strlen %2 L
  +%ECHOVARS.D% %1 %2 L1 L
  +set /a "IMAX=L1-L"
  +set "I=0"
  +:strstr.loop
  +if %I% GTR %IMAX% set "I=-1" & goto :strstr.exit
  +set "SS=!%~1:~%I%,%L%!"
  +if not "!SS!"=="!%~2!" set /a "I+=1" & goto :strstr.loop
  +:strstr.exit
  +%ECHO.D% return %~3=%I%
  +endlocal & if "%~3" neq "" set "%~3=%I%"
  +exit /b
  +
  +:#----------------------------------------------------------------------------#
   :#                                                                            #
   :#  Function        trim						      #
   :#                                                                            #
  
positive.code: set "ECHOVARS.D=%LCALL% :EchoVars.Debug"
  set "ECHOSVARS.V=%LCALL% :EchoStringVars.Verbose"
  set "ECHOSVARS.D=%LCALL% :EchoStringVars.Debug"
  :# Variables inherited from the caller...
  :# Preserve INDENT if it contains just spaces, else clear it.
  for /f %%s in ('echo.%INDENT%') do set "INDENT="
  
negative.code: :#		    Rewrote routine :convert_entities as :ConvertEntities.    #
  :#   2019-10-05 JFL Finalized :TestEscapeCmdString & :TestConvertEntities.    #
  :#   2019-12-03 JFL Added routines :condquote4PS and :GetFullPathName.        #
  :#   2019-12-13 JFL Fix :condquote to always return 0, to prevent false alarms#
  :#   2019-12-26 JFL Added routines :strchr, :streq, :strstr, and :PopCArg.    #
  :#		    Added argument -tca and routine :test_CArg.               #
  :#		    Added macros %+INDENT% and %-INDENT%.                     #
  :#		                                                              #
  :#          Copyright 2016 Hewlett Packard Enterprise Development LP         #
  :# Licensed under the Apache 2.0 license  www.apache.org/licenses/LICENSE-2.0 #
  