Code: Select all
MsgBox, %DisplayThisText%
Code: Select all
MsgBox, %DisplayThisText%
Code: Select all
DisplayThisText:="Send something"
DisplayThisText:=StrReplace(DisplayThisText,"Send","Go") ; the inputVariable is the same as the output in this case, which is fine
MsgBox %DisPlayThisText%
Code: Select all
DisplayThisText:="Send something"
MsgBox % StrReplace(DisplayThisText,"Send","Go") ; we skip the output variable, but the result is still shown in the MsgBox using forced expression mode by using a lone % at the very start of the parameter
Users browsing this forum: jeves and 160 guests