Index: trunk/FACT++/src/InterpreterV8.cc
===================================================================
--- trunk/FACT++/src/InterpreterV8.cc	(revision 15002)
+++ trunk/FACT++/src/InterpreterV8.cc	(revision 15003)
@@ -1877,7 +1877,8 @@
 
         // If line ends with a backslash, allow addition of next line
-        if (command.back()=='\\')
+        auto back = command.rbegin();
+        if (*back=='\\')
         {
-            command[command.length()-1] = ' ';
+            *back = ' ';
             command = Tools::Trim(command);
             continue;
