| Home • Tips • Tutorials • Forums • Certification Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us | ||
Tips Categories:
Contribute?What's New?
What's Hot? |
Compare strings for case sensitivityby Vinayak Consider the scenario where-in we need to compare the given string for the pattern 'SAP123' (CASE SENSITIVE). Even if the provided string is "SAp123" or "sap123" or "Sap123" or "SaP123" are not acceptable. Following is a sample code to achieve this functionality: REPORT ZCOMPARE_TEST. As observed above, we need to have '#' before every character and not needed for digits (As we do not have upper case and lower case for digits). If you want to check for multiple patterns, then it is better to use a range. Following is the sample code for the same: REPORT ZCOMPARE_TEST. |
|
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||