Can you help me to split my text? I'm getting an error constantly

Hello everyone,

I have a text: " Veriler C:\Users\ed001801\Documents\VK\Güncel Personel Listesi_20210406_093312.xlsx dosya yoluna kaydedilmiştir. Excel’in açılmasını ister misiniz? "
(not including apostrophes).
And I just want to get that part from whole text :
" C:\Users\ed001801\Documents\VK\Güncel Personel Listesi_20210406_093312.xlsx"
How can I get that part of text with using split method?

Hi @Elif_Dulger ,

Try Path.GetFullPath(yourvariable)
Mention Log level as Info in your Log Message activity

@Elif_Dulger

You can try using regex as below

Hope this may help you

Thanks

1 Like

Solved! thank you. But I want to learn how to use split method also. Can you solve with split method too?

1 Like

@Elif_Dulger

Sure, you can check as below

You can’t put space to split, so “xlsx” is the split and to remove Veriler I used SubString to skip that

Hope this may help you

Thanks

1 Like

Tank you :slight_smile:

1 Like

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