On Monday, January 28, 2019 at 5:47:10 PM UTC-7, Panneer wrote:
>
> Hi All,
>
> I want to insert  a character in a string at a certain position in Groovy 
> pipeline. e.g is here below
>
> sam1 = {"ttd1": [{:php2val2"}:{"Version" : "02.02.42"}
>
> i want to convert the above data into below format for curl comman.
>
> sam2 = {\"ttd1\": [{\"php2val2\"}:{\"Version"\ : \"02.02.42\"}
>
> Please guide me on this.. I tried with replaceAll but not working.
>
> Regards
> Panneer
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ad36d575-9f39-4d0b-85b7-b4d1c1dceb40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to