Strip Characters from String?
hi,
how can strip off characters end of string? not @ regular expressions perhaps may not need one? here data
first_name_510
last_name_2267
i need function strip off right including underscore. should left below:
first_name
last_name
any highly appreciated
regards
how can strip off characters end of string? not @ regular expressions perhaps may not need one? here data
first_name_510
last_name_2267
i need function strip off right including underscore. should left below:
first_name
last_name
any highly appreciated
regards
if underscore, , last one, should
the trick:
#left(string, len(string)-len(listlast(string, "_"))-1)#
string assumed variable holding text
azadi saryev
sabai-dee.com
http://www.sabai-dee.com/
the trick:
#left(string, len(string)-len(listlast(string, "_"))-1)#
string assumed variable holding text
azadi saryev
sabai-dee.com
http://www.sabai-dee.com/
More discussions in ColdFusion
adobe
Comments
Post a Comment