How do i read a text from a pdf file in studiox

it shows error when i read the text to use it to rename the file and moving it to another file as the text im reading has “/” it shows error

@tpmehs

  1. Read Text File (File Path: “source.txt”) → Output: textFromFile
  2. Assign (textFromFile = textFromFile.Replace(“/”, “_”))
  3. Move File (Source: “source.txt”, Destination: "folder\ " + textFromFile + “.txt”)

they do not have assign in studiox is there any alternatives?

Hi @tpmehs ,
You can check your path again


regards,

@tpmehs

Use set variable activity in studiox

In UiPath StudioX, the “Set Variable” activity is used to set the value of a variable. This activity allows you to define a variable and assign a value to it directly within your StudioX workflow.

i have used it but it shows this error
WhatsApp Image 2023-10-06 at 12.28.53

HI @tpmehs

Can you try to give the full folder + file path

give full file check?

Refer this thraed

Regards
Gokul

thats for studio currently im working on studiox for my project

i tried this it still show me the same error

Can you share your source or your file?
I will test it
regards,