Text Manipulation

Mike9761

New member
I am trying to use Text Manipulation
Example -
House number or Name • Near here or there
I am try to extract "House number or name"
It can be all alpha or have a number, The "•" is always present regardless, I do not want " • Near here or there"
 

Winny57

Member
I am trying to use Text Manipulation
Example -
House number or Name • Near here or there
I am try to extract "House number or name"
It can be all alpha or have a number, The "•" is always present regardless, I do not want " • Near here or there"
You would need an example of the text to help you.

If the number is contained between two precisions you can use (.*?)
 

Pseudocyclic

Well-known member
Use Regex.

However, if you would like to try a DIY solution without any Regex research/learning...
- set test string variable to ""
- set integer variable to -1
- repeat while test string variable is not •
- increase integer variable value by 1
- copy source string character at integer variable value position to test string variable
- end loop
- delete portion of source string from integer variable value position onwards
 

Mike9761

New member
Use Regex.

However, if you would like to try a DIY solution without any Regex research/learning...
- set test string variable to ""
- set integer variable to -1
- repeat while test string variable is not •
- increase integer variable value by 1
- copy source string character at integer variable value position to test string variable
- end loop
- delete portion of source string from integer variable value position onwards
Better example -
Mr John Smith • 2 This Road This Town
I want to extract the name "Mr John Smith"
The remaining " • This Road This Town" I don't want .
 
Top