Инструменты пользователя

Инструменты сайта


en:autorun:documentation:strreplace

StrReplace

StrReplace(<str>, <oldstr> [, <newstr> [, <casesense>]])
StrReplace [/S] <VAR> <str> <oldstr> [<newstr>]

Returns a string in which the old substring has been replaced by the new substring.

Parameters

strSource string.
oldstrThe substring to search.
newstrThe found string will be replaced with this string.
casesenseOptional. Case sensitive search (for feature), 0/1.

Switches

/SCase-sensitive search (for command).

Return value

If successful, the function returns a string with substrings replaced. If the substring is not found, or if the string or substring is empty, the function returns the original string.

en/autorun/documentation/strreplace.txt · Последнее изменение: 2022/09/25 18:07 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki