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 3: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 3:11 PM
Online now... 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

As Business Analysts in Agile teams, we often hear about Definition of Ready (DOR) and Definition of Done (DOD). But beyond the buzzwords, these two concepts are powerful tools to drive clarity, consistency, and quality in our work. Definition of Ready ensures a user story is truly ready for development. It answers: Is this story clear, feasible...
In today's fast-paced digital world, successful projects aren't just built on great code—they're built on clarity. And that clarity often comes from one key player: the Business Analyst. At the heart of every great product or system is a need—a business goal, a customer pain point, or a regulatory requirement. But busines...
I have always loved cooking. I learned from my Grandma June and her kitchen was her sanctuary, a small, warm sunlit space filled with jars of spices, stacks of cookbooks, and the comforting smell of something always on the stove or baking in the oven. Grandma June was as great a cook as she was a teacher to me. She never followed a recipe “to...

 






 

Copyright 2006-2025 by Modern Analyst Media LLC