I created a simple application for me to wear the GPS (latitude and
longitude) coordinates in two text boxes . Too bad that the sensor send me the
coordinates as :
Latitude : 46,293
length: 2,324
The problem comes when I mark it with a " , " and it should be
like:
Latitude : 46 293
length: 2,324
are you saying, you want to replace the comma in the provided latitude?
just use the replace all block http://appinventor.mit. edu/explore/ai2/support/ blocks/text.html#replaceall
replace all
Returns a new text string obtained by replacing all occurrences of the substring with the replacement.
Replace all with She loves eating. She loves writing. She loves codingas the text, She as the segment, and Hannah as the replacement would result in Hannah loves eating. Hannah loves writing. Hannah loves coding.
It's perfect! More more thanks!!
댓글 없음:
댓글 쓰기