Filemaker Pro 9 (122) Flashcards

1
Q

This set entered on 8-3-14
8.3.14.3

  1. What does the SUBSTITUTE Function do?
A

It performs a Find and Replace WITHIN a text value.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. How would you write a function to replace all the NO with YES on a field?
A

Substitute ( Buy ; “No” ; “Yes” ). Buy, in this case, is a FIELD that tells you whether you should buy
something or not.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. A few FileMaker functions support a special BRACKETED SYNTAX and Substitute is one of them. This means that if you want to:
A

Perform several REPLACEMENTS on a piece of text, you can do it with one SUBSTITUTE FUNCTION.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. For example, how do you remove all the vowels from a field?
A

Substitute ( My Field ; [“a” ; “ “] ; [“e” ; “ “] ; [“i” ; “ “] ; [“i” ; “ “] ; [“o” ; “ “] ; [“u” ; “ “]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. What does the Filter Function do?
A

It can remove anything that you DON’T specify.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. How would you remove any non-numeric characters from a credit card number?
A

Filter ( Credit Card Number ; “0123456789” )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. What will this function return: Filter ( Task ; “to do” ) ?
A

It will return all the t’s, the o’s, and the d’s. It will not know to return “to do” only.

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