cancel
Showing results for 
Search instead for 
Did you mean: 
rajeev15
Pilgrim

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
Highlighted
rajeev15
Pilgrim

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

Fixed by modifying HostInfo custom code by this single line

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