$strprop - String Properties

By h3lp on Mar 03, 2005

1) $strprop(text) = return lenght of string

2) $strprop(text,class) = return the "class" value in a string

3) $strprop(text,class,properties) = return the strings which have remove the "class", and may return the percantage of "class" in the string.

;text : can be anything, %var or anytext.

;class : a = String Number, b = Bold, c = colour, u = underline, up = uppercase, low = lowercase, cod = code, num = numeric, asc = ascii, blk = A blank/space or horizontal tab, sym = symbols.

;properties : r = remove, p = percent

;more: String Number Prop : insert number of array result, eg: $strprop(hello,a,1) return h

Comments

Sign in to comment.
tye   -  Mar 03, 2005

very ugly code

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.