Raja Mirrah wrote:I need everything between those two colons. but the problem here is may get a colon in between but i should take the string from second colon from starting till the last colon in the string.
Hope the above explanation is clear.
As already mentioned, with the indexOf() and / or lastIndexOf() methods,
you should be able to find the two colons, and using substring(), you should be able to extract the string that you need.
Henry