Rakesh123
(Rakesh Ghosh)
1
"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"
Gouda_6
(Gouda_6)
2
Hi @Rakesh123,
Try this snippet,
yourString.Replace(Environment.NewLine, String.Empty)
Thanks,
Gouda_6
(Gouda_6)
4
What is issue your facing ?
Rakesh123
(Rakesh Ghosh)
5
Space between two line
Certificate:
ISO9001:2008
Package:
Tube
but i want
Certificate:
ISO9001:2008
Package:
Tube
Gouda_6
(Gouda_6)
6
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.