Reversing order of substrings

(imported comment written by SystemAdmin)

There’s sort of a hacky way to get substrings in reverse order.

Q: concatenation of characters ( lengths of following texts of positions of it ) of concatenation “,” of (concatenation of characters ( lengths of following texts of positions of it ) of it ) of substrings separated by “,” of "abc,def,ghi,jkl,mno"
A: mno,jkl,ghi,def,abc

The idea is that you reverse each substring, then concatenate them, then reverse the entire string. The relevance to reverse a string is:

Q: concatenation of characters ( lengths of following texts of positions of it ) of "abcdefg"
A: gfedcba

So for your expression, it’d be something like:

Q: concatenation of characters ( lengths of following texts of positions of it ) of concatenation “,” of (concatenation of characters ( lengths of following texts of positions of it ) of it ) of (following texts of firsts “=” of substrings separated by “,” of following text of first “,” of preceding text of first “,DC” of distinguished name of local computer of active directory)

1 Like