Finding pattern in strings

  • Thread starter Srinivas reddy Guda
  • Start date
S

Srinivas reddy Guda

Hello Friends,

How to find the pattern in strings.

Example: In string "MATHEMATICS", i want to know the first occurrence of
"MAT".

Is there any standard function is available or we have to write our own
code for this?

I am looking like function in oracle INSTR.

Thanks in Advance,
Srinivas.
 
P

Peña, Botp

RnJvbTogU3Jpbml2YXMgcmVkZHkgR3VkYSBbbWFpbHRvOmdzckBmYXN0LWZvcndhcmQuY29tLnNn
XSANCiMgSG93IHRvIGZpbmQgdGhlIHBhdHRlcm4gaW4gc3RyaW5ncy4NCg0KZmluZCBpdC4uDQoN
Cmh0dHA6Ly93d3cucnVieS1kb2Mub3JnL2NvcmUvY2xhc3Nlcy9TdHJpbmcuaHRtbA0KDQpxcmkg
c3RyaW5nLj1+DQoNCnFyaSBzdHJpbmcuaW5kZXgNCg0KDQo=
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,199
Messages
2,571,045
Members
47,643
Latest member
ashutoshjha_1101

Latest Threads

Top