文件名称:strip_punctuation
介绍说明--下载内容均来自于网络,请自行研究使用
The Strip function returns a string with space characters removed from the front, back, or both ends. Intervening space characters between words are retained. Another character can be removed instead.
result = Strip( string [, [ option ] [, character ] ] )
string
the text with characters to remove from the ends
option
One of:
Leading
Trailing
Both -- the default !
character
an alternate character to remove
Examples:
say Strip( 007 , L , 0 ) -- shows: 7 -- leading zeroes are removed
say Strip( both ends need to be shaved , B ) -- shows: both ends need to be shaved
say Strip( 42.0000 , T , 0 ) -- shows: 42. -- trailing zeroes are removed (but not the decimal point!)
say Strip( both ends need to be shaved, again ) -- shows: both ends need to be shaved, again-The Strip function returns a string with space characters removed from the front, back, or both ends. Intervening space characters between words are retained. Another character can be removed instead.
result = Strip( string [, [ option ] [, character ] ] )
string
the text with characters to remove from the ends
option
One of:
Leading
Trailing
Both -- the default !
character
an alternate character to remove
Examples:
say Strip( 007 , L , 0 ) -- shows: 7 -- leading zeroes are removed
say Strip( both ends need to be shaved , B ) -- shows: both ends need to be shaved
say Strip( 42.0000 , T , 0 ) -- shows: 42. -- trailing zeroes are removed (but not the decimal point!)
say Strip( both ends need to be shaved, again ) -- shows: both ends need to be shaved, again
result = Strip( string [, [ option ] [, character ] ] )
string
the text with characters to remove from the ends
option
One of:
Leading
Trailing
Both -- the default !
character
an alternate character to remove
Examples:
say Strip( 007 , L , 0 ) -- shows: 7 -- leading zeroes are removed
say Strip( both ends need to be shaved , B ) -- shows: both ends need to be shaved
say Strip( 42.0000 , T , 0 ) -- shows: 42. -- trailing zeroes are removed (but not the decimal point!)
say Strip( both ends need to be shaved, again ) -- shows: both ends need to be shaved, again-The Strip function returns a string with space characters removed from the front, back, or both ends. Intervening space characters between words are retained. Another character can be removed instead.
result = Strip( string [, [ option ] [, character ] ] )
string
the text with characters to remove from the ends
option
One of:
Leading
Trailing
Both -- the default !
character
an alternate character to remove
Examples:
say Strip( 007 , L , 0 ) -- shows: 7 -- leading zeroes are removed
say Strip( both ends need to be shaved , B ) -- shows: both ends need to be shaved
say Strip( 42.0000 , T , 0 ) -- shows: 42. -- trailing zeroes are removed (but not the decimal point!)
say Strip( both ends need to be shaved, again ) -- shows: both ends need to be shaved, again
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ReadMe.txt
strip_punctuation.php