How to take a string until point

Hello Guys, how i can take I specific string.

Exmple: my String : Diego/Pinheiro/Capiller/2111/2020/03/04/TomorrowL

What i need Take: “Diego/Pinheiro/Capiller/2111/2020/” and this leght characters can change…soo I ever need take all string until (" / " (5))

thx.

@Diego_Pin Check if this Works :

Assign String Variable strInput = “Diego/Pinheiro/Capiller/2111/2020/03/04/TomorrowL”

Assign Another String variable modStrInput = String.Join(“/”,Split(strInput,“/”).Take(5))

4 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.