I need to access all possible number of combinations of characters in a string. Without Using Any loop, because i have to filter records in thousands. loop can give performance issue. lets Take a Example : Any Custom method ABCD ===>> ABCD, ABDC,ACBD,ACDB, ADCB, BACD, BADC, BCAD, BCDA, BDAC , BDCA , CADB,CBDA,CDBA, CBAD, DABC, DBCA, DCBA,DCAB......
thanks in Advance