Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Finding the string length.

Former Member
0 Kudos

Hi Friends,

I want to find whether the given string contains a particular substring. What is the way to find it.

Thanks

Ragavi

8 REPLIES 8

Former Member
0 Kudos

HI Ragavi,

v1 = 'pdf'

v2 = 'asdsdsdsd.pdf 123 bytes'

if you want to check whether v1 contains v2 means

you have to give condition like

if v1 CS v2

The condition will return true if v1 contains v2 else it will return false.

Your subject is not relevant to the question .

Regards

Renuka.

Former Member
0 Kudos

Answered by meself.

0 Kudos

Talking with urself???

0 Kudos

HI Ragavi,

v1 = 'pdf'

v2 = 'asdsdsdsd.pdf 123 bytes'

if you want to check whether v1 contains v2 means

you have to give condition like

if v1 CS v2

The condition will return true if v1 contains v2 else it will return false.

Your subject is not relevant to the question .

Regards

Renuka.

hahaha

This is hilarious

pk

0 Kudos

>

> hahaha

>

> This is hilarious

>

> pk

This is not the first time, Many times it happend with Ragavi so called moorthy.

0 Kudos

>

> Many times it happend with Ragavi so called moorthy.

Vijay pls do create a misleads

he/she not a Ragavi may be Renuka.

Award points if not usefull .

Cheers

0 Kudos

>

> Vijay pls do create a misleads

> he/she not a Ragavi may be Renuka.

>

> Award points if not usefull .

>

> Cheers

sorry, it is Renuka masked and turned into Ragavi. Points are not with me, may be Ragavi can give. We should wait for her/his response.

i should create one thread and give points.

0 Kudos

> We should wait for her/his response.

No need to hold your breath while waiting for that.

Good catch team