On Tuesday, 10 November 2020 at 09:47:06 UTC, sarn wrote:
On Tuesday, 10 November 2020 at 08:19:15 UTC, Vino wrote:
[...]
This is iterating over all the elements in data2 and outputting
some of them, so the output will never be longer than data2.
[...]
Hi Sarn,
Thank you very much
On Tuesday, 10 November 2020 at 08:19:15 UTC, Vino wrote:
foreach(i; data2[]) {
if(data1[].canFind(i[0])) {
writeln(i[1]);
}
}
This is iterating over all the elements in data2 and outputting
some of them, so the output will never be longer than data2.
It looks like you want to iter
Hi All,
Request your help, the below code output's as below hence
request your help on hot to get the output as below(Required
Output).
Output
DEV Cluster
QAS Cluster
Required Output
DEV Cluster
DEV Cluster
DEV Cluster
QAS Cluster
Code
import std.container.array;
import std.stdio: write