I have two variables
label
and its value "LABEL_NAME=
" and
value
and its value "A_B
"
I use replace function to remove "_" from label
and replace it with space like
Dim label as String = "LABEL_NAME="
Dim value as String = "A_B"
label=label.Replace("_"," ")
and assign its value to LABEL control
dynamillabel.content=label & value
I expect the result as "LABEL NAME=A_B"
but I get
"LABEL NAME=AB"
I am replacing _ of label variable , It removes "_" of value variable as well.
Edit :
I want to concatenate two variables and assign it to Label.content . but before concatenating , I want to replace first variables "_"
with space. when I do so It removes second variables "_" and above it the snippet I have used.