[mapguide-users] Label Expressions - replaceall

Zac Spitzer zac.spitzer at gmail.com
Fri Aug 1 23:55:05 EDT 2008


that's really terribly explained, when I first saw "from-characterset"
with translate, I thought it was
something to do with code pages!

Translate( <text property >, <from-characterset >, <to-characterset >)

Would make more sense to humans as

Translate( <text property >, <from-string>, <to-string>)

I would like to see a fourth parameter, <repeat> 1 being the default,
0 all or x number of times

z

On Thu, Jul 31, 2008 at 10:22 PM, Zac Spitzer <zac.spitzer at gmail.com> wrote:
> ah, yep, strange name, that's why I missed it...
>
> turns out there's a bit more logic required to split a name nicely
>
> z
>
> On Thu, Jul 31, 2008 at 9:30 PM, Jackie C. Ng <jumpinjackie at gmail.com> wrote:
>>
>> FDO has the expression function Translate( <text property >,
>> <from-characterset >, <to-characterset > )
>>
>> Is this available in mapguide?
>>
>> - Jackie
>>
>>
>> zspitzer wrote:
>>>
>>> Is there an expression with mapguide which can be used to do a replace
>>> all?
>>>
>>> I want to replace all newlines in a label with '\n' to split the words
>>> over multiple lines
>>>
>>> I couldn't see anything in studio
>>>
>>> z
>>>
>>> --
>>> Zac Spitzer -
>>> http://zacster.blogspot.com (My Blog)
>>> +61 405 847 168
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>>
>>
>>
>> -----
>> http://themapguyde.blogspot.com
>>
>> http://www.linkedin.com/in/jackieng
>> --
>> View this message in context: http://www.nabble.com/Label-Expressions---replaceall-tp18748700p18752597.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>
>
>
> --
> Zac Spitzer -
> http://zacster.blogspot.com (My Blog)
> +61 405 847 168
>



-- 
Zac Spitzer -
http://zacster.blogspot.com (My Blog)
+61 405 847 168


More information about the mapguide-users mailing list