Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

SSRS expressions to get part of a string

$
0
0
Hi,I need to write expression in my report to get the characters between "_" and "-".I have two columns in my report, group_number and group_name. Using the characters in the group_name, I need to write the group_number.For example,Suppose the group_name is: abc_def-ghiThen my group_number should be "def".And the number of characters can vary from 2 to 3. That is, group number can be "de" or "def". The thing is it should be between underscore(_) and (-).Thanks in advance.

Viewing all articles
Browse latest Browse all 2791

Trending Articles