How to do string escaping

Penko

Active Member
Licensed User
Longtime User
Hello!

I am trying to escape the string for the use of "(quote). As far as I know, VB handles it correctly but I am breaking the compiler without success.

B4X:
   confirmation = Common.showQuestion(Common.trans.GetText2("Are you sure you want to delete the word \"{1}\"", Array As String(theItem)), _
   Common.trans.GetText("Delete?"), Common.trans.GetText("Yes"), Common.trans.GetText("No"))

I tried various things around {1} -> ""{1}"", the current one, etc...
 
Top