When I output a database field containing a file url such as:
images/tools.jpg, I need to always ignore the first 7 characters so that it reads: tools.jpg how would I apply this fix to the following code:
If you always know the replacement string, you can use something like <% =REPLACE(images("url_img"),"images/","") %>
Or if you know that you always want the string after the /, but might have anything in the path, you can use INSTRREV and RIGHT and LEN to extract the desired portion.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.