Hi everyone,
I have a task.
Input
Output
Please help me, how to insert head of the family name (like above example Head of the Family "Aadi") before every child names and insert sequence number (like above example 1. Aadi's son Aadinath The first god Boy Hindu).
I want to be number sequence single digit (1, 2, ...)
Also if I want the other conversation of number sequence with leading zero like 5 digit (00001, 00002, ...)
I have a task.
Input
Code: Select all
Head of the Family "Aadi" [most important] Hindu
• __'s son Aadinath [The first god] Boy Hindu
• __'s son Aaditya [The sun] Boy Hindu
• __'s son Aadit [Peak] Boy Hindu
Head of the Family "Jhons" [A fiery young man] Christian
Head of the Family "Aadil(Adil)" [Justice] Muslim
• __'s son Azim [Justice] Boy Muslim
• __'s son Salman [Attraction] Boy Muslim
Head of the Family "Aäidan" [A fiery young man] Christian
• __'s son Aaditeya [Origin] Boy Christian
• __'s son James [Origin] Boy Christian
Head of the Family "Z[J]ahir" [Justice] Muslim
• __'s son Sadiqu [Strong] Boy Muslim
Output
Code: Select all
Head of the Family "Aadi" [most important] Hindu
1 Aadi's son Aadinath [The first god] Boy Hindu
2 Aadi's son Aaditya [The sun] Boy Hindu
3 Aadi's son Aadit [Peak] Boy Hindu
Head of the Family "Jhons" [A fiery young man] Christian
Head of the Family "Aadil(Adil)" [Justice] Muslim
1 Aadil(Adil)'s son Azim [Justice] Boy Muslim
2 Aadil(Adil)'s son Salman [Attraction] Boy Muslim
Head of the Family "Aäidan" [A fiery young man] Christian
1 Aäidan's son Aaditeya [Origin] Boy Christian
2 Aäidan's son James [Origin] Boy Christian
Head of the Family "Z[J]ahir" [Justice] Muslim
1 Z[J]ahir's son Sadiqu [Strong] Boy Muslim
I want to be number sequence single digit (1, 2, ...)
Also if I want the other conversation of number sequence with leading zero like 5 digit (00001, 00002, ...)