Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Insert new line/carriage return in ADFS custom claim rule

$
0
0
Hi,
I have to split an outgoing claim string value into a multiline text as follow:

Text_1¦Text_2¦Text_3¦Text_4

Split to:

Text_1
Text_2
Text_3
Text_4


I try to use the RegExRelace() function but I can't find the right syntax for new line/carriage return char

Exemple:
c:[Type == "string_1"]
 => issue(Type = "string_2", Value = RegExReplace(c.Value, "¦", "[\n\r]"));

Some suggestions?

Thanks in advance.

Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>