Beren (beren_writes) wrote,

  • Mood:

S2 Question

Anyone know how to substring in the S2 coding language? I've tried everything I can think of and it doesn't work.
Anyone know of a language reference for s2 that actually tells you anything? The LJ documentation is, to put it bluntly, crap!

Oh and if anyone is having a problem with OPAL where if an entry has messed up html in it, it spreads to the rest of the page, put a table around the


in the print_entry funcion.

[Edit - figured it out :) $stringname->substr(start, end) incase you were wondering. And have fixed the annoying problem in Opal where if the subject of someone's post is longer than 20 characters it upsets my layout. Am quite pleased with myself now ::g::]

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.