RosettaCodeData/Task/Binary-strings/VBA/binary-strings-9.vba

8 lines
176 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
Sub ReplaceInString()
Dim A$, B As String, C$
A = "Hello world"
B = Chr(108) ' "l"
C = " "
Debug.Print Replace(A, B, C) 'return : He o wor d
End Sub