Forums for the Business Analyst

 
  Modern Analyst Forums  Business and Sy...  Requirements  need help with a business rule
Previous Previous
 
Next Next
New Post 6/21/2010 4:32 AM
User is offline Weed
1 posts
No Ranking


need help with a business rule 
Modified By Weed  on 6/21/2010 6:56:26 AM)

this is the scenario, on one of my reports there is a specific field that users enter a 16 digit number into, but most of the time it is the 16 digit plus additional unnecessary information consisting of alphanumeric and special characters, i have no control over the field and the 16 digit entered is not always in the same format, sometimes it is entered with a space and sometimes without a space, i need to design a rule that only extracts the 16 digit number from the rest of the garbage, what can i do?

 
New Post 6/21/2010 4:11 PM
User is offline Adrian M.
765 posts
3rd Level Poster




Re: need help with a business rule 

Here are some assumptions based on your note:

  • the 16 digits come first in the field before any other "junk" data
  • understand that the 16 digits may be spearated by spaces and/or dashes

You could do this simply by going through the string character by character and if the character is a digit ( 0 thourgh 9) then extract it.  Do this until you've got 16 of them.

Adrian


Adrian Marchis
Business Analyst Community Blog - Post your thoughts!
 
Previous Previous
 
Next Next
  Modern Analyst Forums  Business and Sy...  Requirements  need help with a business rule

Community Blog - Latest Posts

Leveraging Blockchain Technology for Enhanced Data Security in Business Operations
In an age where data breaches and cyberattacks are becoming more frequent and sophisticated, businesses are searching for robust solutions to safeguard their data. Blockchain technology has emerged as a promising tool in this quest, offering a way to secure data with unparalleled reliability. Although initially known for powering cryptocurrencies l...
Building software products that solve actual customer concerns and generate business success is not an easy fit. Product executives battle strong competition, tight timelines, and high expectations, all while seeking to offer value. While success gives the opportunity to showcase approaches and frameworks, the reality is that building excellent pro...
Business Impact Analysis(BIA): Assessing the Potential Impact of a Cybersecurity Incident on Business Operations
In today’s highly interconnected society, businesses depend on technology even more than before. While offering opportunities for innovation and creativity, businesses are exposed to various cybersecurity threats that can disrupt operations, damage reputation, and result in substantial financial losses. It is crucial to carry out a comprehens...

 



Upcoming Live Webinars




 

Copyright 2006-2025 by Modern Analyst Media LLC