Skip to main content
jP_web_icon

jPoint Docs

Go Search
Home
jPoint Docs
Examples
Blog
  
jPoint > jPoint Docs > API > jP.strip()  

jP.strip()

jP.strip()

Method

jPoint.strip( str )

Overview

Strips the whitespace and special characters from the String str. It is used within jPoint to collapse a Form or List field display name or List name so that the name can be assigned as a variable to the parent class.

Arguments

Name
Type
Optional
Description
str
String
false
str is a String.

Returns

str with whitespace and special characters stripped out purpose: compares two names to see if they are the same except for whitespace and special characters to abstract away from encoding and decoding strings Used primarly to compare display names of URL parameters and Sharepoint fields input: name1 and name2 are strings visibility: public return: true or false

Last modified at 12/4/2009 2:29 PM  by Luke Orman