Add String in last position

 

Dear brothers and traders in this code it gives the result following..

and i would like to add some "xxx" in that last value after i got StringLen modified.

string close_val = DoubleToStr(iClose(cysymbol,cur_tf,i),idigits);  // 1.45678
close_val = StringSubstring(close_val, 0, StringLen(lose_val) - 1); // 1.4567

it gives result 1.4567 and i want add 3 some more values after that like 1.4567xxx

the xxx value is constant string...

could you please guide me in this?

With Thanks and Regards

Saravana
 
  1. RTFM learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
  2. close_val = close_val + "xxx";

 

Thank you brother WHRoeder. I was trying StringAdd :(

 
or
StringAdd(close_val, "xxx");
or
close_val =  StringConcatenate(close_val, "xxx");
Reason: