User Guide/Workspace/Wildcards: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (Text replace - "S_TOOLS-STx" to "{{STX}}")
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
==Wildcards==
{{UG_Workspace}}
Many {{STX}} dialogs allow the use of wildcards. There are two wildcards supported by {{STX}}


Many {{STX}} dialogs allow the use of wildcards. There are two wildcards supported by {{STX}}
*<code>*</code> the asterisk represents any character or string of characters
*<code>?</code> the question mark represents any single character


** the asterisk represents any character or string of characters
*? the question mark represents any single character
For example if are search set is
For example if are search set is


sentence1
sentence1
 
sentence2
sentence2
word1
 
word2
word1
waterfall
 
dangerous
word2
wet
 
waterfall
 
dangerous
 
wet
 
The search string *t* would return
 
sentence1
 
sentence2
 
waterfall
 
wet
 
The search string *t would return


wet
The search string <code>*t*</code> would return


The search string *o* would return
sentence1
sentence2
waterfall
wet


word1
The search string <code>*t</code> would return


word2
wet


dangerous
The search string <code>*o*</code> would return


The search string ?o* would return
word1
word2
dangerous


word1
The search string <code>?o*</code> would return


word2
word1
word2

Latest revision as of 15:12, 23 November 2015

Many STx dialogs allow the use of wildcards. There are two wildcards supported by STx

  • * the asterisk represents any character or string of characters
  • ? the question mark represents any single character

For example if are search set is

sentence1
sentence2
word1
word2
waterfall
dangerous
wet

The search string *t* would return

sentence1
sentence2
waterfall
wet

The search string *t would return

wet

The search string *o* would return

word1
word2
dangerous

The search string ?o* would return

word1
word2

Navigation menu

Personal tools