Break line space remove

"QuickDetails

Structure:

DeepGroove

Type:

Ball

BrandName:

CTZorOEM

BoreSize:

15mm

OutsideDiameter:

40mm

ModelNumber:

sa205

PrecisionRating:

P0P6P5P4P2

SealsType:

Open

NumberofRow:

SingleRow

PlaceofOrigin:

Zhejiang,China(Mainland)

Material:

ChromeSteel

Application:

Machinery

Feature:

LongLife

Cage:

SteelCage

Lubrication:

Grease

Productname:

BearingsMiniatureFrontWheelHubBearing

Service:

OEMCustomizedServices

Certificate:

ISO9001:2008

Package:

Tube

Vibration:

V1V2V3V4"
This is my data how to remove space between those line. please help me
I want to this data like
Vibration:
V1V2V3V4"

Hi @Rakesh123,

Try this snippet,
yourString.Replace(Environment.NewLine, String.Empty)

Thanks,

but problem is same

What is issue your facing ?

Space between two line
Certificate:

ISO9001:2008

Package:

Tube
but i want
Certificate:
ISO9001:2008
Package:
Tube

try this,
String.Join(Environment.NewLine,yourvaribale.Split({Environment.NewLine,vbcrlf,vblf," ",vbtab,vbcr,vbNewLine},StringSplitOptions.RemoveEmptyEntries))

Buddy @Rakesh123

Hope this xaml would resolve your issue,
blanklineremoval.zip (10.1 KB)

Cheers.

ok thanks