Skip to main content
deleted 15 characters in body
Source Link
ilkkachu
  • 147.9k
  • 16
  • 268
  • 441

I have a string with a below pattern

SrcWorkspaceName=abc_1234;SrcEndVer=1409;Lang=ENU,FRA,NLD

SrcWorkspaceName=abc_1234;SrcEndVer=1409;Lang=ENU,FRA,NLD

I need the SrcEndVerSrcEndVer value to be replaced from 14091409 with other number.

Here the number is stored in a variable,say

Var=1600

Var=1600

So, 14091409 value should be replaced with a variable VarVar

Like the Outputoutput as below for example

SrcWorkspaceName=abc_1234;SrcEndVer=1600;Lang=ENU,FRA,NLD

Thankyou

SrcWorkspaceName=abc_1234;SrcEndVer=1600;Lang=ENU,FRA,NLD

I have a string with a below pattern

SrcWorkspaceName=abc_1234;SrcEndVer=1409;Lang=ENU,FRA,NLD

I need the SrcEndVer value to be replaced from 1409 with other number.

Here the number is stored in a variable,say

Var=1600

So, 1409 value should be replaced with a variable Var

Like the Output as below for example

SrcWorkspaceName=abc_1234;SrcEndVer=1600;Lang=ENU,FRA,NLD

Thankyou

I have a string with a below pattern

SrcWorkspaceName=abc_1234;SrcEndVer=1409;Lang=ENU,FRA,NLD

I need the SrcEndVer value to be replaced from 1409 with other number.

Here the number is stored in a variable,say

Var=1600

So, 1409 value should be replaced with a variable Var

Like the output as below for example

SrcWorkspaceName=abc_1234;SrcEndVer=1600;Lang=ENU,FRA,NLD
added 129 characters in body
Source Link
Jman91
  • 45
  • 1
  • 9

I have a string with a below pattern

SrcWorkspaceName=abc_1234;SrcEndVer=1409;Lang=ENU,FRA,NLD

I need the SrcEndVer value to be replaced from 1409 with other number.

Here the number is stored in a variable,say

Var=1600

So, 1409 value should be replaced with a variable Var

Like the Output as below for example

SrcWorkspaceName=abc_1234;SrcEndVer=1600;Lang=ENU,FRA,NLD

Thankyou

I have a string with a below pattern

SrcWorkspaceName=abc_1234;SrcEndVer=1409;Lang=ENU,FRA,NLD

I need the SrcEndVer value to be replaced from 1409 with other number.

Like the Output as below for example

SrcWorkspaceName=abc_1234;SrcEndVer=1600;Lang=ENU,FRA,NLD

Thankyou

I have a string with a below pattern

SrcWorkspaceName=abc_1234;SrcEndVer=1409;Lang=ENU,FRA,NLD

I need the SrcEndVer value to be replaced from 1409 with other number.

Here the number is stored in a variable,say

Var=1600

So, 1409 value should be replaced with a variable Var

Like the Output as below for example

SrcWorkspaceName=abc_1234;SrcEndVer=1600;Lang=ENU,FRA,NLD

Thankyou

Source Link
Jman91
  • 45
  • 1
  • 9

Replace a substring with another value in a main string

I have a string with a below pattern

SrcWorkspaceName=abc_1234;SrcEndVer=1409;Lang=ENU,FRA,NLD

I need the SrcEndVer value to be replaced from 1409 with other number.

Like the Output as below for example

SrcWorkspaceName=abc_1234;SrcEndVer=1600;Lang=ENU,FRA,NLD

Thankyou