log@inker.net

  • Home
  • About
    • test
  • Archives
  • Mission
  • Computer MISC
  • JavaScript
  • Server Operation

trim string 1 tip

function trim(inputString) {
    // Removes leading and trailing spaces from the passed string. Also removes
    // consecutive spaces and replaces it with one space. If something besides
    // a string is passed in (null, custom object, etc.) then return the input.
    if (typeof inputString != "string") { return inputString; }
    var retValue […]

Categories

Sponsors

Sample ad Sample ad Advertise Here

Copyright © 2008 log@inker.net. Powered by WordPress.

Options theme by Justin Tadlock