String Functions Flashcards

1
Q

Returns the ASCII character based on the number code

A

CHAR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Returns the location of a substring in a string

A

CHARINDEX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Concatenates two or more strings together

A

CONCAT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Concatenates two or more strings together, and separates the concatenated string values with the specified delimiter

A

CONCAT WS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Returns the length of an expression (in bytes)

A

DATALENGTH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Compares two SOUNDEX values, and returns an integer value

A

DIFFERENCE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Extracts a substring from a string (starting from left)

A

LEFT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Returns the length of the specified string

A

LEN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Converts a string to lower-case

A

LOWER

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Removes leading spaces from a string

A

LTRIM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Returns the Unicode character based on the number code

A

NCHAR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Returns the location of a pattern in a string

A

PATINDEX

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Replaces a sequence of characters in a string with another set of characters

A

REPLACE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Repeats a string value a specified number of times

A

REPLICATE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Reverses a string and returns the result

A

REVERSE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Extracts a substring from a string (starting from right)

A

RIGHT

17
Q

Removes trailing spaces from a string

A

RTRIM

18
Q

Returns a string with a specified number of spaces

A

SPACE

19
Q

Returns a string representation of a number

A

STR

20
Q

Escapes special characters in texts and returns text with escaped characters

A

STRING_ESCAPE

21
Q

Escapes special characters in texts and returns text with escaped characters

A

STRING_SPLIT

22
Q

Deletes a sequence of characters from a string and then inserts another sequence of characters into the string, starting at a specified position

A

STUFF

23
Q

Extracts a substring from a string

A

SUBSTRING

24
Q

Returns the string provided as a first argument after some characters specified in the second argument are translated into a destination set of characters

A

TRANSLATE

25
Q

Removes the space character or other specified characters from the start or end of a string

A

TRIM

26
Q

Converts a string to upper-case

A

UPPER