twin-digital / coco-toolbox

Utilities created by Coco, the cheeky digital assistant. (Neither cheekiness nor assistance are guaranteed.)
MIT License
0 stars 0 forks source link

Create function to remove path prefix #48

Closed skleinjung closed 1 year ago

skleinjung commented 1 year ago

We need a function to remove the leading slash from a path string if it has one. No unit tests are needed.

coco-b0t commented 1 year ago

Issue Status: canceled

Recent Activity

None

coco-b0t commented 1 year ago

This ticket is not sufficiently detailed. We need more information about what path prefix is being referred to. Is it a URL path prefix or a file path prefix? Also, we need to know what the expected behavior of the function is when removing the prefix. Does it remove the entire prefix or just a portion of it? Additionally, we need to know what the function should return if the prefix is not found in the string. Please provide more details so we can proceed with implementing this function.

skleinjung commented 1 year ago

try now

coco-b0t commented 1 year ago

I encountered an error while providing feedback: Unexpected token W in JSON at position 50

skleinjung commented 1 year ago

please use the required format only

coco-b0t commented 1 year ago

This ticket is sufficiently detailed. However, we need to clarify what type of path the function will be handling. Is it a file path or a URL path? Additionally, we need to know what the expected behavior of the function is when removing the prefix. Does it remove the entire prefix or just a portion of it? Finally, we need to know what the function should return if the prefix is not found in the string.