Workflow and ServiceDesk Community

 View Only

Strip Non Number Characters From Text 

Jun 13, 2012 09:46 AM

 


Component definition

This component strips any text or other characters from a string, leaving only the string's numbers. For example, using this control on the string "H3ll0W0rlD" would return "300."

Component icon

text_marked.png

Definition of component input value or values

The "Input Variable Name" indicates the variable you want to strip non-number characters from.  This variable is initialized and valued upstream of this component.

Definition of component output value or values

The "Output Variable Name" is the name of the variable you want the remaining number characters to populate.  If this variable is the same as the input variable, that variable will be changed and the original value with any non-number characters will be replaced with only the numbers in the string.

Component settings

To configure this component, simply right-click on your component and select "Edit Component." To fully setup the component, simply set a variable within your project as your input variable (InputVariableName field) and a variable within your project to act as your output variable (OutputVariableName field).

 

Use case

This component can be used to strip parentheses and other characters from telephone numbers (e.g. "(555) 555-5555" to return just the telephone number (e.g. "5555555555").

[Example 1]

[Describe the use case. Insert screen shots or package files. Insert a description of how the settings are configured. Insert additional information about the use case that you are submitting.]

[Example 2]

[Describe the use case. Insert screen shots or package files. Insert a description of how the settings are configured. Insert additional information about the use case that you are submitting.]

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.