Get filename without extension

Consider the following filename:

hls_a128_v4.m3u8

We are interested in getting filename only (without extension). We can do so with the help of following code:

2 thoughts on “Get filename without extension”

  1. I do consider all the ideas you’ve presented to your post. They’re really convincing and can definitely work. Nonetheless, the posts are too brief for newbies. Could you please prolong them a little from next time? Thank you for the post.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s