Hi Folks...
I have a string in the format '1.2.3.4.5.6'. I have to write a generic function that will take integer as paramater and will return the string as follows for the above input.
I have a string in the format '1.2.3.4.5.6'. I have to write a generic function that will take integer as paramater and will return the string as follows for the above input.
- ParamaterValue : Output.
- 1 : 1
- 2 : 1.2
- 3 : 1.2.3
- 4 : 1.2.3.4
Comment