@CrazyCreator @Mayuraa @Leena @v_1 i have one string like this
,,Pune,,,,,::City Detail
string may vary as per user input .I just want to check that is there any subsequent comma(,) in string if yes then replace it with only one comma(,) and if subsequent comma(,) is at start of string then reomove it
so will u tell me how to find subsequent char in string?