If j value is last one of a loop, then i need to print first value of loop
(j[0]). Kindly suggest me or correct above script.
Do you realise you are doing nothing at all with all the other members
of the array? If that is what you want then why bother to iterate
through the array, just display element 0.
Not related to your question but it is better to use css rather than
inline font tags.
Do you realise you are doing nothing at all with all the other members
of the array? If that is what you want then why bother to iterate
through the array, just display element 0.
Thank you for your point out.
Not related to your question but it is better to use css rather than
inline font tags.
Its working with “source.strains[0].appendix”. Thank you for helping
out to
find the issue.
Palani Kannan. K,
Doctoral Researcher,
Microbiology Department,
German Collection Center for Microorganisms and Cell Cultures,
Helmholtz-HZI Infectious diseases Research Campus,
38124, Braunschweig,
Germany.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.