Solved

Coding

Posted on 2012-03-29
3
233 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

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…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

776 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