Solved

Coding

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

856 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