Hi Gagan,

Try this:

var aa:String = "The \\ country";
                var pos:int = aa.indexOf("\\");
                Alert.show(String(pos));

Regards,
Venkat
www.venkatv.com

On Fri, Nov 7, 2008 at 7:38 PM, GAGAN anand <[EMAIL PROTECTED]> wrote:

> I am saking for \ slash not for this / slash
>
>
> On 07/11/2008, Vinod M. Jacob <[EMAIL PROTECTED]> wrote:
>>
>> Try this
>>
>> private function searchText():void{
>>    var str:String = "To find the/ in sentence.";
>>    Alert.show(str.search("/").toString());
>> }
>>
>> On Fri, Nov 7, 2008 at 5:15 PM, Gags <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> Hi All
>>>
>>> I have one query related to search function of string.
>>>
>>> I am having one string containing one backslash (\) character also.
>>>
>>> Is it possible to search that backslash character?
>>>
>>> Any help would be gr8.
>>>
>>> Thanks in Advance
>>>
>>> Regards
>>> Gagan
>>>
>>>
>>>
>> >>
>>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to