Home Forums Reporting Services Reporting Services 2008 Development How to split the data in ssrs RE: How to split the data in ssrs
gbritton1
SSCertifiable
Points: 6522
More actions
May 1, 2014 at 10:04 am
#1710142
if the numeric portion is fixed length (always four characters), use the Left function e.g.
Left("1234-abc", 4)
yields "1234"
If the numeric portion is variable length, add a call to InStr:
=Left("1234-abc",InStr("1234-abc","-")-1)