Hi,
Can anyone tell me how to extract the number without using substring operation?
INVOICE NO KAS0000062017
I need to get only KAS0000062017
Hi,
Can anyone tell me how to extract the number without using substring operation?
INVOICE NO KAS0000062017
I need to get only KAS0000062017
fine
be like
in_str = “INVOICE NO KAS0000062017”
out_str = split(in_str," ")(2).tostring
Cheers @pradeep931
invoice number
2503020660 Continued
how to get 2503020660 palaniyappan?
here we can use
in_str = “2503020660 Continued”
then
out_str = split(in_str," ")(0).tostring
Cheers @pradeep931
Thank Palaniyappan
Use Matches to Get this
Regex = [^INVOICE NO]+$
I can think of one other way to tackle this problem using Replace:
string var = var.Replace("INVOICE NO ", “”);
Thanks chenderson, i will try it.