Hi guys,
I have a problem. I'd like to remove only the 1st extra "\" character from the following string using Power Automate. How can i do so?
DESKTOP-T01PAB4\\User
Hi guys,
I have a problem. I'd like to remove only the 1st extra "\" character from the following string using Power Automate. How can i do so?
DESKTOP-T01PAB4\\User
If you were just trying to change duplicate \\ to \ then I'd do the following:
replace('DESKTOP-T01PAB4\\User', '\\', '\')
Hi @Starzap00 ,
Please try:
concat(
take(
'DESKTOP-T01PAB4\\User',
indexOf('DESKTOP-T01PAB4\\User','\')
),
skip(
'DESKTOP-T01PAB4\\User',
add(indexOf('DESKTOP-T01PAB4\\User','\'),1)
)
)
Result:
Best Regards,
Bof
Michael E. Gernaey
497
Super User 2025 Season 1
David_MA
436
Super User 2025 Season 1
Riyaz_riz11
244
Super User 2025 Season 1