Results 1 to 4 of 4

Thread: stripslashes() function for JSP?

  1. #1
    Join Date
    Feb 2003
    Location
    Kluang, Johor
    Posts
    2,367
    Rep Power
    254

    Question stripslashes() function for JSP?

    Hi,

    Is there JSP function that similar to PHP's stripslashes() ? If no, any where to get the code that strip slashes from string?

    Thank you.

  2. #2
    Join Date
    Feb 2004
    Location
    Shah Alam
    Posts
    175
    Rep Power
    198
    Oh i remember my pain working with JSP dealing with string and dates is awefully painful..

    try their api page

    http://java.sun.com/j2se/1.4.2/docs/api/index.html

    I dont think they have a similar function as stripslashes but you can use their String object methods to do the same.... only painfully good luck

  3. #3
    Join Date
    Feb 2003
    Location
    Kluang, Johor
    Posts
    2,367
    Rep Power
    254
    I have searched thru Internet and conclude that JAVA/JSP does not has something like stripslashes(). The alternative is replace() or use Java String Taglib...

  4. #4
    Join Date
    Nov 2001
    Location
    Johor
    Posts
    772
    Rep Power
    238
    heheh bleh kalau ko yg buat LCF jadi LSP
    hahah
    I hate when:

    vBulletin Message:
    Sorry! The administrator has specified that users can only post one message every 60 seconds

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. php ob_start function
    By Redzuan9999 in forum Website Programming
    Replies: 2
    Last Post: 04-12-2007, 10:38 AM
  2. wedding and function shooting
    By zzrmetal in forum Advertise Your Services
    Replies: 1
    Last Post: 03-09-2007, 01:26 AM
  3. Help needed in loadMovie() function!
    By eric in forum Website Design
    Replies: 9
    Last Post: 24-05-2004, 10:34 AM
  4. print function
    By ardella in forum Website Programming
    Replies: 2
    Last Post: 13-05-2004, 12:50 AM
  5. array_splice? unset? which function is appropriate??
    By joyce in forum Website Programming
    Replies: 3
    Last Post: 17-09-2002, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112