Click here to Skip to main content
12,356,784 members (74,117 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted

Problem with substring

, 3 Oct 2012 CPOL
Thats because if charindex is not present then substring will become 0-1 =-1 but the index itself starts from 0 and no element would be at -1 index.For eg, if 5/2012D is one of the value, then in substring function it becomessubstring(sender_index_code,1,(0-1)) and it will throw errortry...

Revisions


  

Compare Revision Minor Date Status Editor
3 - publicly available No 4-Oct-12 3:42 Available Santhosh Kumar Jayaraman
Updates in content. 118 changes had been made.
2 No 4-Oct-12 3:34 Available Santhosh Kumar Jayaraman
Updates in content. 7 changes had been made.
1 No 4-Oct-12 3:29 Available Santhosh Kumar Jayaraman

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Santhosh Kumar Jayaraman
Software Developer Radiometer
India India
Currently i am trying to learn all about javascripts . I have experience in Microsoft technologies like WPF, WCF, ASPNET, WinForms,Silverlight, VB.NET, C-Sharp, Entity framework,SSRS, LINQ, Extension methods and SQL server. I started with my career in Infosys in the year 2009 and i worked with Trigent, Education First (EF) in the recent years before joining my current company Radiometer.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160621.1 | Last Updated 4 Oct 2012
Article Copyright 2012 by Santhosh Kumar Jayaraman
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid