ReplaceString()

Syntax

String$ = ReplaceString(String$, StringToFind$, StringToReplace$ [, Mode])

Description

Try to find any occurences of 'StringToFind$' into the given 'String$' and replace them with 'StringToReplace$'.

'Mode' can be a combination of one of the following values:
  1: Case insensitive search (A=a). By default the search is case sensitive. 
  2: In place replacing. This means than the string is replaced directly in the memory. The 'StringToFind$' and 
  'StringToReplace$' parameter must have the same length ! This is a dangerous option, for advanced users only. 
  The advantage is the very high speed of the replacement. 

Supported OS

Windows, AmigaOS, Linux

String - Index