[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

Coding

Write a function (pseudocode), which pareses a string to get the starting index of the n-th occurrence of a specified substring.
0
SaiSiva08
Asked:
SaiSiva08
2 Solutions
 
appariCommented:
homework?
0
 
BuggyCoderCommented:
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
 
Anthony PerkinsCommented:
Hint: If you are using T-SQL: CHARINDEX()
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Tackle projects and never again get stuck behind a technical roadblock.
Join Now