Solved

Coding

Posted on 2012-03-29
3
235 Views
Last Modified: 2012-05-22
Write a function (pseudocode), which pareses a string to get the starting index of the n-th occurrence of a specified substring.
0
Comment
Question by:SaiSiva08
3 Comments
 
LVL 39

Expert Comment

by:appari
ID: 37785567
homework?
0
 
LVL 20

Assisted Solution

by:BuggyCoder
BuggyCoder earned 250 total points
ID: 37785823
You have to use IndexOf(that is a big hint), try giving it a shot, i am sure you will be able to crack.
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 250 total points
ID: 37793746
Hint: If you are using T-SQL: CHARINDEX()
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question