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 5: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 5: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

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...
In today's ever-evolving market, businesses must adapt swiftly to remain competitive and meet the needs of a fast-paced digital economy. Among the various business strategies available, digital transformation, customer-centricity, and sustainability have emerged as top priorities. Let’s explore why these strategies are critical for busine...
The Cisco Certified Network Associate (CCNA) certification is a pivotal credential for networking professionals, validating your skills in networking fundamentals, security, automation, and programmability. Preparing for the CCNA exam can be challenging, but with the right strategy, resources, and mindset, you can successfully achieve this certific...

 



Upcoming Live Webinars




 

Copyright 2006-2024 by Modern Analyst Media LLC