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.
764 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

Fabricio Laguna talks Business Analysis and AI
I recently connected with Fabricio Laguna, aka The Brazilian BA. Fabricio is a passionate and pioneering business analyst from Brazil. During our conversation, we had a thought-provoking discussion on how artificial intelligence stands to shape the field of business analysis in the years ahead. While AI promises to transform many aspects of busines...
Business Architecture, Ontology and More with Terry Roach
It's been a privilege meeting Terry Roach, a visionary in the field of enterprise architecture and business architecture. Terry's insights into the evolution of business models, the importance of ontology in architecture, and the potential of AI to shape our future were not only thought-provoking but also a reflection of his extensive exper...
Today I had the pleasure of chatting to Jignesh Jamnadas, Chief Operations Officer at Mosaic, about his Blueprints for Success. As a Senior Finance and Operations Executive, Jigs (as he is known to many) has a holistic understanding of all facets of business and a flair for managing both people and processes. Having worked with Jigs, I was struc...

 



Upcoming Live Webinars




 

Copyright 2006-2024 by Modern Analyst Media LLC