Free Support Forum -

Finding slide index from a URI


When I look at the href from a ResourceUri I get a string that looks like

Is there any function that will tell me the slide index that this refers to? (If not, I can do a explode or regex to find the field between slides/3/shapes.)



Thanks for your inquiry. Yes, I am afraid there is not method available to get the slide index from the URI. You need to parse the URI to get the slide index.