I have given a string and asked to write the code with out using any inbuilt functions.below is the description
dim str as string="~~~This~~is~~~~the~~~~~Test~~~~~"
The tilts are dynamically created and may not be the same everytime, but the output should be as follows
str=This~~is~~~~the~~~~~Test
we need to remove the tilts from the begining to "T" and remove the last tilts from "t"
we can do it by using Remove,Mid functions but the interviewer wants the logic to be used not the inbuilt functions.
Could any body helpme out and give me the logic.
Rememember the output should be like "This~~is~~~~the~~~~~Test"
I am new to this site and also for threads. if there is any mistake in the format please forgive me.
Thanks
Narender