Uipath Certified RPA Associate Uirpa · Free Practice Question Easy

Question 20

Identify the missing word(s) in the following sentence within the context of UiPath Academy.

[?] are the data type corresponding to text. It is difficult to imagine an automation scenario that doesn’t involve the use of [?].

Anytime a text needs to be captured, processed, sent between applications, or displayed, these come in handy (unless the data is structured - like a table).

  • A

    Collections

  • B

    Strings

  • C

    RegEx

  • D

    Lists

  • E

    Arrays

Reveal correct answer

Correct answer: B

Explanation

What are Strings?

Strings are the data type corresponding to text. It is difficult to imagine an automation scenario that doesn’t involve the use of strings.

Anytime a text needs to be captured, processed, sent between applications, or displayed, string comes in handy (unless the data is structured - like a table).

Business scenarios uses of dictionaries

• Getting the status of an operation

• Extracting the relevant piece from a larger text portion

• Displaying information to the human user

String Methods

String manipulation is done by using String Methods borrowed from VB.Net. Below are some of the most common methods used in RPA:

Concat

Concatenates the string representations of two specified objects

Expression: String.Concat (VarName1, VarName2)

Contains

Checks whether a specified substring occurs within a string. Returns true or false

Expression: VarName.Contains (“text”)

Format

Converts the value of objects to strings (and inserts them into another text)

Expression: String.Format(“{0} is {1}”, VarName1, VarName2)

IndexOf

Returns the zero-based index of the first occurrence of a character in a String

Expression: VarName1.IndexOf(“a”)

Join

Concatenates the elements in a collection and displays them as String

Expression: String.Join(“|”, CollVarName1)

Replace

Replaces all the occurrences of a substring in a string

Expression: VarName.Replace (“original”, “replaced”)

Split

Splits a string into substrings using a given separator

Expression: VarName.Split(“|“c)(index)

Substring

Extracts a substring from a string using the starting index and the length

Expression: VarName1.Substring(startIndex, length)

All String Methods
For the full list of String Methods, you can visit the dedicated space on the .Net portal on microsoft.com.

https://docs.microsoft.com/en-us/dotnet/api/system.string?view=netframework-4.8#methods

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need