cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rajeev15
Level 3

Replace period (.) with (\.) using ModifyString

Can anyone help me to convert the string with period with \period

For example

www.acresso.com to www\.acresso\.com

Thank you
Raj
Labels (1)
0 Kudos
(1) Reply
rajeev15
Level 3

Fixed by modifying HostInfo custom code by this single line

string hostname="www.acresso.com"
hostname = hostname.replaceAll("\\.","\\\\\\.");
0 Kudos