BookmarkURL to get to another eSpace

BookmarkURL to get to another eSpace

  

SyntaxEditor Code Snippet

Substr(BookmarkURL,0,Index(BookmarkURL,"/",0,True)+1)

This string will result in the following link: 

http://Personalarea/TestApp_Core/ 

Now I want to link to the normal eSpace. So, http://Personalarea/TestApp/ 

I've tried 

Replace(Substr(BookmarkURL,0,Index(BookmarkURL,"/",0,True)+1), "_Core","")

But that doesn't work.. 

Any ideas?

Solution

Hello,

This should work:

Replace(Substr(BookmarkURL, 0, Index(BookmarkURL, "/", 0, True) + 1), "_Core/", "/")
Solution

Thanks