How to return the first 10 characters of a file name into a custom column

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Schuller
Posts: 184
Joined: 02 May 2023 21:08

How to return the first 10 characters of a file name into a custom column

Post by Schuller »

Hi ,

I'm trying to return the first 10 characters of a file name into a custom column.
Can anyone please let me know the script for this.

Thanks

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to return the first 10 characters of a file name into a custom column

Post by highend »

Code: Select all

return substr(<cc_name>, 0, 10);
One of my scripts helped you out? Please donate via Paypal


Post Reply