G
Guest
hello,
in a string which i read from a textfile there are some lines, which must be
eliminated.
The content of the stringvariable is for example :
myString="
--comment 1
Update .....
--comment 2 .......
SELECT DISTINCT .....
...."
how can i eliminate all the comment lines marked with --
so that i get
myString="
Update .....
SELECT DISTINCT .....
...."
The new string has no more lines with --
thanks
Xavier
in a string which i read from a textfile there are some lines, which must be
eliminated.
The content of the stringvariable is for example :
myString="
--comment 1
Update .....
--comment 2 .......
SELECT DISTINCT .....
...."
how can i eliminate all the comment lines marked with --
so that i get
myString="
Update .....
SELECT DISTINCT .....
...."
The new string has no more lines with --
thanks
Xavier