Hii, Please help ASAP!!
I have some string “shvfjeyqkusvcxjhsyu.xls” and i want to ignore all the text after extension .This extension is not fixed it can very
Hii, Please help ASAP!!
I have some string “shvfjeyqkusvcxjhsyu.xls” and i want to ignore all the text after extension .This extension is not fixed it can very
Hi,
Can you share some input examples and expected output?
Regards,
input: abcdefg.trf
output: abcdefg
when text is a filename or path:
Hi,
FYI, Another solution
yourString.Substring(0,yourString.LastIndexOf("."c))
Regards,
no its just a string data
looks like a Excel filename
filenames / paths as strings can be processed as mentioned above by Yoichi and me
we assume you want to get the filename without extension
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.