## in a String

Hi, everybody! I have to use file.copy with a sourcefile containing ‘##’ in its path. As there is no variable with the replacing value I get a zero instead of the two poundkeys - and the file can’t be copied. Is there any solution in the navisionworld out there? Thanks 4 reply Peter

Try to use “Chr(35)”. Or use system (API) routines. Business Applications Programmer Sertified Navision Developer SIA “Sintegra” Latvia

Thanks for your quick answer, but either it doesn’t work or I don’t know how to use it the correct way. :frowning:

Inserting characters by their ASCII code is done as follows: PoundSign[1] := 35; TestText := 'A string with ’ + PoundSign; John